com.sleepycat.collections

Class BlockIterator

class BlockIterator extends Object implements BaseIterator

An iterator that does need closing because a cursor is not kept open across method calls. A cursor is opened to read a block of records at a time and then closed before the method returns.
Method Summary
voidadd(Object value)
ListIteratordup()
booleanhasNext()
booleanhasPrevious()
booleanisCurrentData(Object currentData)
booleanmoveToIndex(int index)
Objectnext()
intnextIndex()
Objectprevious()
intpreviousIndex()
voidremove()
voidset(Object value)

Method Detail

add

public void add(Object value)

dup

public final ListIterator dup()

hasNext

public boolean hasNext()

hasPrevious

public boolean hasPrevious()

isCurrentData

public final boolean isCurrentData(Object currentData)

moveToIndex

public final boolean moveToIndex(int index)

next

public Object next()

nextIndex

public int nextIndex()

previous

public Object previous()

previousIndex

public int previousIndex()

remove

public void remove()

set

public void set(Object value)