K - Type of the record's keyV - Type of the record's valuepublic interface Cursor<K,V> extends SequentialCursor<K,V>
| Modifier and Type | Method and Description |
|---|---|
boolean |
positionToIndex(int index)
Positions the cursor to the specified index within the tree.
|
boolean |
positionToKey(org.forgerock.opendj.ldap.ByteSequence key)
Positions the cursor to the provided key if it exists in the tree.
|
boolean |
positionToKeyOrNext(org.forgerock.opendj.ldap.ByteSequence key)
Positions the cursor to the provided key if it exists in the tree,
or else the lesser key greater than the provided key in the tree.
|
boolean |
positionToLastKey()
Positions the cursor to the last key in the tree.
|
boolean positionToKey(org.forgerock.opendj.ldap.ByteSequence key)
key - the key where to position the cursortrue if the cursor could be positioned to the key,
false otherwiseboolean positionToKeyOrNext(org.forgerock.opendj.ldap.ByteSequence key)
key - the key where to position the cursortrue if the cursor could be positioned to the key,
false otherwiseboolean positionToLastKey()
true if the cursor could be positioned to the last key,
false otherwiseboolean positionToIndex(int index)
index - the index where the cursor should be positioned, (0 is the first record).true if the cursor could be positioned to the index, false otherwiseCopyright © 2010-2015 ForgeRock AS. All Rights Reserved.