mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Matthew Swift
31.00.2015 8513213e8f8f1cd4d87a10b3218654c6988f5188
opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/spi/Cursor.java
@@ -65,6 +65,16 @@
  boolean positionToLastKey();
  /**
   * Positions the cursor to the specified index within the tree. Implementations may take advantage
   * of optimizations provided by the underlying storage, such as counted B-Trees.
   *
   * @param index
   *          the index where the cursor should be positioned, (0 is the first record).
   * @return {@code true} if the cursor could be positioned to the index, {@code false} otherwise
   */
  boolean positionToIndex(int index);
  /**
   * Moves this cursor to the next record in the tree.
   *
   * @return {@code true} if the cursor could move to the next record,