E
- the type of elements returned by this iteratorpublic interface ResettableIterator<E> extends Iterator<E>
This interface allows an iterator to be repeatedly reused.
Modifier and Type | Method and Description |
---|---|
void |
reset()
Resets the iterator back to the position at which the iterator
was created.
|
forEachRemaining, hasNext, next, remove
void reset()
Copyright © 2001–2019 The Apache Software Foundation. All rights reserved.