E - the type to iterate overpublic 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, removevoid reset()
Copyright © 2001–2018 The Apache Software Foundation. All rights reserved.