public class KeyBTreeCursor<E>
extends org.apache.directory.shared.ldap.cursor.AbstractCursor<E>
| Constructor and Description |
|---|
KeyBTreeCursor(BTree btree,
Comparator<E> comparator)
Creates a Cursor over the keys of a JDBM BTree.
|
| Modifier and Type | Method and Description |
|---|---|
void |
after(E element) |
void |
afterLast() |
boolean |
available() |
void |
before(E element) |
void |
beforeFirst() |
boolean |
first() |
E |
get() |
boolean |
isElementReused() |
boolean |
last() |
boolean |
next() |
boolean |
previous() |
checkNotClosed, close, close, isClosed, iterator, setClosureMonitorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic KeyBTreeCursor(BTree btree, Comparator<E> comparator) throws Exception
btree - the JDBM BTree to build a Cursor overcomparator - the Comparator used to determine key orderingException - of there are problems accessing the BTreeCopyright © 2003–2014 The Apache Software Foundation. All rights reserved.