com.sleepycat.collections

Interface BaseIterator

interface BaseIterator extends ListIterator

Common interface for BlockIterator and StoredIterator.
Method Summary
ListIteratordup()
Duplicate a cursor.
booleanisCurrentData(Object currentData)
Returns whether the given data is the current iterator data.
booleanmoveToIndex(int index)
Initializes a list iterator at the given index.

Method Detail

dup

public ListIterator dup()
Duplicate a cursor. Called by StoredCollections.iterator.

isCurrentData

public boolean isCurrentData(Object currentData)
Returns whether the given data is the current iterator data. Called by StoredMapEntry.setValue.

moveToIndex

public boolean moveToIndex(int index)
Initializes a list iterator at the given index. Called by StoredList.iterator(int).