E - public class ArrayResettableIterator<E> extends Object implements ResettableIterator<E>
| Constructor and Description |
|---|
ArrayResettableIterator(Object[] array) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
static <E> ResettableIterator<E> |
iterator(Collection<E> collection) |
E |
next() |
void |
reset()
Resets the iterator so that you can iterate over all elements from your current position.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaining, removepublic ArrayResettableIterator(Object[] array)
public static <E> ResettableIterator<E> iterator(Collection<E> collection)
public void reset()
ResettableIteratorreset in interface ResettableIterator<E>Copyright © 2022 The Apache Software Foundation. All rights reserved.