K - The type for the Keypublic interface Cursor<K>
| Modifier and Type | Field and Description |
|---|---|
static int |
AFTER_LAST |
static int |
BEFORE_FIRST
Static value for the beforeFrst and afterLast positions
|
| Modifier and Type | Method and Description |
|---|---|
void |
afterLast()
Places the cursor at the end of the last position
|
void |
beforeFirst()
moves the cursor to the same position that was given at the time of instantiating the cursor.
|
void |
close()
Closes the cursor, thus releases the associated transaction
|
boolean |
hasNext()
Tells if the cursor can return a next element
|
boolean |
hasPrev()
Tells if the cursor can return a previous element
|
static final int BEFORE_FIRST
static final int AFTER_LAST
boolean hasNext()
throws EndOfFileExceededException,
IOException
IOExceptionEndOfFileExceededExceptionboolean hasPrev()
throws EndOfFileExceededException,
IOException
IOExceptionEndOfFileExceededExceptionvoid close()
void beforeFirst()
throws IOException
IOExceptionvoid afterLast()
throws IOException
IOExceptionCopyright © 2012–2015 Apache Mavibot Project Parent. All rights reserved.