Tabnine Logo
EISOrderedCollectionChangeRecord.addTo
Code IndexAdd Tabnine to your IDE (free)

How to use
addTo
method
in
org.eclipse.persistence.eis.EISOrderedCollectionChangeRecord

Best Java code snippets using org.eclipse.persistence.eis.EISOrderedCollectionChangeRecord.addTo (Showing top 9 results out of 315)

origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * Add an moved change set.
 */
public void addMovedChangeSet(Object changeSet, int oldIndex, int newIndex) {
  getMoves().add(changeSet);
  int[] pair = new int[2];
  pair[0] = oldIndex;
  pair[1] = newIndex;
  setMoveIndexPairs(this.addTo(pair, getMoveIndexPairs()));
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * Add an moved change set.
 */
public void addMovedChangeSet(Object changeSet, int oldIndex, int newIndex) {
  getMoves().add(changeSet);
  int[] pair = new int[2];
  pair[0] = oldIndex;
  pair[1] = newIndex;
  setMoveIndexPairs(this.addTo(pair, getMoveIndexPairs()));
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * Add an removed change set.
 */
public void addRemovedChangeSet(Object changeSet, int index) {
  getRemoves().add(changeSet);
  setRemoveIndexes(this.addTo(index, getRemoveIndexes()));
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * Add an added change set.
 */
public void addAddedChangeSet(Object changeSet, int index) {
  getAdds().add(changeSet);
  setAddIndexes(this.addTo(index, getAddIndexes()));
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * Add an removed change set.
 */
public void addRemovedChangeSet(Object changeSet, int index) {
  this.getRemoves().addElement(changeSet);
  this.setRemoveIndexes(this.addTo(index, this.getRemoveIndexes()));
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * Add an added change set.
 */
public void addAddedChangeSet(Object changeSet, int index) {
  getAdds().add(changeSet);
  setAddIndexes(this.addTo(index, getAddIndexes()));
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * Add an removed change set.
 */
public void addRemovedChangeSet(Object changeSet, int index) {
  getRemoves().add(changeSet);
  setRemoveIndexes(this.addTo(index, getRemoveIndexes()));
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * Add an added change set.
 */
public void addAddedChangeSet(Object changeSet, int index) {
  this.getAdds().addElement(changeSet);
  this.setAddIndexes(this.addTo(index, this.getAddIndexes()));
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * Add an moved change set.
 */
public void addMovedChangeSet(Object changeSet, int oldIndex, int newIndex) {
  this.getMoves().addElement(changeSet);
  int[] pair = new int[2];
  pair[0] = oldIndex;
  pair[1] = newIndex;
  this.setMoveIndexPairs(this.addTo(pair, this.getMoveIndexPairs()));
}
org.eclipse.persistence.eisEISOrderedCollectionChangeRecordaddTo

Javadoc

Add the int to the end of the array. Return the new array.

Popular methods of EISOrderedCollectionChangeRecord

  • <init>
    Construct a ChangeRecord that can be used to represent the changes to an ordered collection.
  • addAddedChangeSet
    Add an added change set.
  • addMovedChangeSet
    Add an moved change set.
  • addRemovedChangeSet
    Add an removed change set.
  • cancelAddedChangeSet
    The specified change set was added earlier; cancel it out.
  • getAdd
    Return the specified add.
  • getAddIndexes
    ADVANCED: Return the indexes into the new collection of the elements that were added.
  • getAdds
    ADVANCED: Return the entries for all the elements added to the new collection. The contents of this
  • getAddsIndexOf
    Return the index in the adds of the specified change set, without triggering the instantiation of th
  • getAddsSize
    Return the number of adds, without triggering the instantiation of the collection.
  • getBeforeMoveIndex
    Return the specified "before" move index.
  • getMove
    Return the specified move.
  • getBeforeMoveIndex,
  • getMove,
  • getMoveIndexPairs,
  • getMoves,
  • getMovesIndexOf,
  • getMovesSize,
  • getNewCollection,
  • getNewCollectionSize,
  • getOwner

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getExternalFilesDir (Context)
  • findViewById (Activity)
  • scheduleAtFixedRate (Timer)
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Join (org.hibernate.mapping)
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now