class BlockIterator<E> extends java.lang.Object implements BaseIterator<E>
| Constructor and Description |
|---|
BlockIterator(StoredCollection<E> coll,
boolean writeAllowed,
int blockSize)
Creates an iterator.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(E value) |
java.util.ListIterator<E> |
dup() |
boolean |
hasNext() |
boolean |
hasPrevious() |
boolean |
isCurrentData(java.lang.Object currentData) |
boolean |
moveToIndex(int index) |
E |
next() |
int |
nextIndex() |
E |
previous() |
int |
previousIndex() |
void |
remove() |
void |
set(E value) |
BlockIterator(StoredCollection<E> coll, boolean writeAllowed, int blockSize)
public boolean hasNext()
public boolean hasPrevious()
hasPrevious in interface java.util.ListIterator<E>public E next()
public int nextIndex()
nextIndex in interface java.util.ListIterator<E>public int previousIndex()
previousIndex in interface java.util.ListIterator<E>public void remove()
public final java.util.ListIterator<E> dup()
dup in interface BaseIterator<E>public final boolean isCurrentData(java.lang.Object currentData)
isCurrentData in interface BaseIterator<E>public final boolean moveToIndex(int index)
moveToIndex in interface BaseIterator<E>Copyright (c) 2004,2008 Oracle. All rights reserved.