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