com.sleepycat.collections
Interface BaseIterator

All Superinterfaces:
Iterator, ListIterator
All Known Implementing Classes:
BlockIterator, StoredIterator

interface BaseIterator
extends ListIterator

Common interface for BlockIterator and StoredIterator.


Method Summary
 ListIterator dup()
          Duplicate a cursor.
 boolean isCurrentData(Object currentData)
          Returns whether the given data is the current iterator data.
 boolean moveToIndex(int index)
          Initializes a list iterator at the given index.
 
Methods inherited from interface java.util.ListIterator
add, hasNext, hasPrevious, next, nextIndex, previous, previousIndex, remove, set
 

Method Detail

dup

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


isCurrentData

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


moveToIndex

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



Copyright 2004-2006 Sleepycat, Inc. All Rights Reserved.