public class StructuredArray.ElementIterator
extends java.lang.Object
implements java.util.Iterator<T>
Iterator with the ability to be reset() enabling reuse.| Constructor and Description |
|---|
ElementIterator() |
ElementIterator(long offset,
long length) |
| Modifier and Type | Method and Description |
|---|---|
long |
getCursor() |
boolean |
hasNext() |
T |
next() |
void |
remove()
Remove operation is not supported on
StructuredArrays. |
void |
reset()
Reset to the beginning of the collection enabling reuse of the iterator.
|
public ElementIterator()
public ElementIterator(long offset,
long length)
public boolean hasNext()
hasNext in interface java.util.Iterator<T>public void remove()
StructuredArrays.remove in interface java.util.Iterator<T>java.lang.UnsupportedOperationException - if called.public void reset()
public long getCursor()