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

Matthew Swift
26.22.2015 f09c069e92d051036af2a969fe5289cb7c4826ba
opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/spi/SequentialCursor.java
@@ -68,7 +68,17 @@
   */
  V getValue() throws NoSuchElementException;
  /**
   * Deletes the record on which this cursor is currently positioned. This method does not alter the position of the
   * cursor. In particular, {@link #next()} must be called in order to point to the next record. The behavior of
   * methods {@link #getKey()} and {@link #getValue()} after this method returns is undefined.
   *
   * @throws NoSuchElementException if the cursor is not defined.
   * @throws UnsupportedOperationException if the cursor implementation does not support updates.
   */
  void delete() throws NoSuchElementException, UnsupportedOperationException;
  /** {@inheritDoc} */
  @Override
  void close();
}
}