congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
EISOrderedCollectionChangeRecord.getMovesIndexOf
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: com.haulmont.thirdparty/eclipselink

/**
 * Attempt to remove the specified change set
 * from the collection of moved change sets.
 * Return true if the change set was moved earlier
 * and was successfully removed.
 */
private boolean removeMovedChangeSet(Object changeSet) {
  int changeSetIndex = this.getMovesIndexOf(changeSet);
  if (changeSetIndex == -1) {
    return false;
  }
  this.getMoves().remove(changeSetIndex);
  int beforeMoveIndex = this.getBeforeMoveIndex(changeSetIndex);
  this.setMoveIndexPairs(this.removeFrom(changeSetIndex, this.getMoveIndexPairs()));
  // now move the change set over to the collection of removes
  this.addRemovedChangeSet(changeSet, beforeMoveIndex);
  return true;
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * Attempt to remove the specified change set
 * from the collection of moved change sets.
 * Return true if the change set was moved earlier
 * and was successfully removed.
 */
private boolean removeMovedChangeSet(Object changeSet) {
  int changeSetIndex = this.getMovesIndexOf(changeSet);
  if (changeSetIndex == -1) {
    return false;
  }
  this.getMoves().remove(changeSetIndex);
  int beforeMoveIndex = this.getBeforeMoveIndex(changeSetIndex);
  this.setMoveIndexPairs(this.removeFrom(changeSetIndex, this.getMoveIndexPairs()));
  // now move the change set over to the collection of removes
  this.addRemovedChangeSet(changeSet, beforeMoveIndex);
  return true;
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * Attempt to remove the specified change set
 * from the collection of moved change sets.
 * Return true if the change set was moved earlier
 * and was successfully removed.
 */
private boolean removeMovedChangeSet(Object changeSet) {
  int changeSetIndex = this.getMovesIndexOf(changeSet);
  if (changeSetIndex == -1) {
    return false;
  }
  this.getMoves().remove(changeSetIndex);
  int beforeMoveIndex = this.getBeforeMoveIndex(changeSetIndex);
  this.setMoveIndexPairs(this.removeFrom(changeSetIndex, this.getMoveIndexPairs()));
  // now move the change set over to the collection of removes
  this.addRemovedChangeSet(changeSet, beforeMoveIndex);
  return true;
}
org.eclipse.persistence.eisEISOrderedCollectionChangeRecordgetMovesIndexOf

Javadoc

Return the index in the moves of the specified change set, without triggering the instantiation of the collection.

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.
  • 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.
  • getAddsSize,
  • getBeforeMoveIndex,
  • getMove,
  • getMoveIndexPairs,
  • getMoves,
  • getMovesSize,
  • getNewCollection,
  • getNewCollectionSize,
  • getOwner

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getResourceAsStream (ClassLoader)
  • requestLocationUpdates (LocationManager)
  • getSharedPreferences (Context)
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • Top 17 Free Sublime Text Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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