public static class DataSet.ElementEnumerator extends Object implements RecyclableSequenceEnumerator, Iterator<Sequence>
DataSet
. It enumerates all elements
of a DataSet
.
reset()
is implemented to
reuse an DataSet.ElementEnumerator
.Constructor and Description |
---|
ElementEnumerator(DataSet data)
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasMoreElements() |
boolean |
hasNext() |
Sequence |
next() |
Sequence |
nextElement() |
void |
remove() |
void |
reset()
This method enables the user to reuse this enumerator.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public boolean hasMoreElements()
hasMoreElements
in interface Enumeration<Sequence>
public Sequence nextElement()
nextElement
in interface Enumeration<Sequence>
public void reset()
RecyclableSequenceEnumerator
reset
in interface RecyclableSequenceEnumerator