Examples of copy()


Examples of com.opengamma.integration.copier.portfolio.DeletingPortfolioCopier.copy()

          new DeletingPortfolioCopier(
              getToolContext().getSecurityMaster(),
              getToolContext().getPositionMaster(),
              getCommandLine().hasOption(WRITE_OPT));
     
      deletingPortfolioCopier.copy(
          new MasterPortfolioReader(
              portfolioDocument.getPortfolio().getName(),
              getToolContext().getPortfolioMaster(),
              getToolContext().getPositionMaster(),
              getToolContext().getSecuritySource()),
View Full Code Here

Examples of com.opengamma.integration.copier.portfolio.PortfolioCopier.copy()

    } else {
      portfolioCopierVisitor = new QuietPortfolioCopierVisitor();
    }

    // Call the portfolio loader with the supplied arguments
    portfolioCopier.copy(portfolioReader, portfolioWriter, portfolioCopierVisitor);

    // close stuff
    portfolioReader.close();
    portfolioWriter.close();
  }
View Full Code Here

Examples of com.opengamma.integration.copier.portfolio.ResolvingPortfolioCopier.copy()

    } else {
      portfolioCopierVisitor = new QuietPortfolioCopierVisitor();
    }
   
    // Call the portfolio loader with the supplied arguments
    portfolioCopier.copy(portfolioReader, portfolioWriter, portfolioCopierVisitor);
   
    // close stuff
    portfolioReader.close();
    portfolioWriter.close();
  }
View Full Code Here

Examples of com.opengamma.integration.copier.portfolio.SimplePortfolioCopier.copy()

    } else {
      portfolioCopierVisitor = new QuietPortfolioCopierVisitor();
    }

    // Call the portfolio loader with the supplied arguments
    portfolioCopier.copy(portfolioReader, portfolioWriter, portfolioCopierVisitor);

    // close stuff
    portfolioReader.close();
    portfolioWriter.close();
  }
View Full Code Here

Examples of com.opengamma.integration.copier.snapshot.copier.SimpleSnapshotCopier.copy()

    SnapshotReader snapshotReader = constructSnapshotReader(getCommandLine().getOptionValue(FILE_NAME_OPTION));
    SnapshotWriter snapshotWriter = constructSnapshotWriter();
    SnapshotCopier snapshotCopier = new SimpleSnapshotCopier();

    snapshotCopier.copy(snapshotReader, snapshotWriter);

    // close the reader and writer
    snapshotReader.close();
    snapshotWriter.close();
View Full Code Here

Examples of com.opengamma.integration.copier.snapshot.copier.SnapshotCopier.copy()

      SnapshotReader snapshotReader = constructSnapshotReader(UniqueId.parse(getCommandLine().getOptionValue(
          SNAPSHOT_UID_OPTION)));
      SnapshotWriter snapshotWriter = constructSnapshotWriter(getCommandLine().getOptionValue(FILE_NAME_OPTION));
      SnapshotCopier snapshotCopier = new SimpleSnapshotCopier();
 
      snapshotCopier.copy(snapshotReader, snapshotWriter);
 
      // close the reader and writer
      snapshotReader.close();
      snapshotWriter.close();
    }
View Full Code Here

Examples of com.oracle.truffle.r.runtime.data.RDataFrame.copy()

    @SlowPath
    protected Object unClass(RDataFrame arg) {
        controlVisibility();
        RDataFrame resultFrame = arg;
        if (resultFrame.isShared()) {
            resultFrame = resultFrame.copy();
        }
        return RVector.setClassAttr(resultFrame.getVector(), null, arg);
    }

}
View Full Code Here

Examples of com.oracle.truffle.r.runtime.data.RVector.copy()

        controlVisibility();
        if (arg.isObject()) {
            objectProfile.enter();
            RVector resultVector = arg.materialize();
            if (resultVector.isShared()) {
                resultVector = resultVector.copy();
            }
            return RVector.setClassAttr(resultVector, null, null);
        }
        return arg;
    }
View Full Code Here

Examples of com.orientechnologies.orient.core.id.ORID.copy()

  public void clearRecordEntries() {
    for (Entry<ORID, ORecordOperation> entry : recordEntries.entrySet()) {
      final ORID key = entry.getKey();

      // ID NEW CREATE A COPY OF RID TO AVOID IT CHANGES IDENTITY+HASHCODE AND IT'S UNREACHEABLE THEREAFTER
      allEntries.put(key.isNew() ? key.copy() : key, entry.getValue());
    }

    recordEntries.clear();
  }
View Full Code Here

Examples of com.orientechnologies.orient.core.id.ORecordId.copy()

        case OTransactionRecordEntry.CREATED:
          entry.clusterName = channel.readString();
          entry.getRecord().fill(database, rid, 0, channel.readBytes(), true);

          // SAVE THE RECORD TO RETRIEVE THEM FOR THE NEW RID TO SEND BACK TO THE REQUESTER
          createdRecords.put(rid.copy(), entry.getRecord());
          break;

        case OTransactionRecordEntry.UPDATED:
          entry.getRecord().fill(database, rid, channel.readInt(), channel.readBytes(), true);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.