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

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

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

origin: com.haulmont.thirdparty/eclipselink

/**
 * The specified change set was added earlier;
 * cancel it out.
 */
private void cancelAddedChangeSet(Object changeSet) {
  int changeSetIndex = this.getAddsIndexOf(changeSet);
  if (changeSetIndex == -1) {
    throw new IllegalStateException(changeSet.toString());
  }
  this.getAdds().remove(changeSetIndex);
  this.setAddIndexes(this.removeFrom(changeSetIndex, this.getAddIndexes()));
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * The specified change set was added earlier;
 * cancel it out.
 */
private void cancelAddedChangeSet(Object changeSet) {
  int changeSetIndex = this.getAddsIndexOf(changeSet);
  if (changeSetIndex == -1) {
    throw new IllegalStateException(changeSet.toString());
  }
  this.getAdds().remove(changeSetIndex);
  this.setAddIndexes(this.removeFrom(changeSetIndex, this.getAddIndexes()));
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * The specified change set was added earlier;
 * cancel it out.
 */
private void cancelAddedChangeSet(Object changeSet) {
  int changeSetIndex = this.getAddsIndexOf(changeSet);
  if (changeSetIndex == -1) {
    throw new IllegalStateException(changeSet.toString());
  }
  this.getAdds().remove(changeSetIndex);
  this.setAddIndexes(this.removeFrom(changeSetIndex, this.getAddIndexes()));
}
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/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: com.haulmont.thirdparty/eclipselink

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

Javadoc

ADVANCED: Return the indexes into the new collection of the elements that were added.

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.
  • addTo
    Add the int[] to the end of the array. Return the new array.
  • cancelAddedChangeSet
    The specified change set was added earlier; cancel it out.
  • getAdd
    Return the specified add.
  • 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
  • setContentView (Activity)
  • getApplicationContext (Context)
  • getSystemService (Context)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • Best plugins for Eclipse
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