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() |
public 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-2013 The Apache Software Foundation. All Rights Reserved.