com.sleepycat.collections
Interface BaseIterator

All Superinterfaces:
java.util.Iterator, java.util.ListIterator
All Known Implementing Classes:
BlockIterator, StoredIterator

interface BaseIterator
extends java.util.ListIterator

Common interface for BlockIterator and StoredIterator.


Method Summary
 java.util.ListIterator dup()
          Duplicate a cursor.
 boolean isCurrentData(java.lang.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

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


isCurrentData

boolean isCurrentData(java.lang.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,2008 Oracle. All rights reserved.