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, wait
forEachRemaining, remove
public ArrayResettableIterator(Object[] array)
public static <T> ResettableIterator<T> iterator(Collection<T> collection)
public void reset()
ResettableIterator
reset
in interface ResettableIterator<T>
Copyright © 2020 JBoss by Red Hat. All rights reserved.