| Constructor and Description |
|---|
CyclicIterator(Iterable<T> iterable) |
CyclicIterator(T[] array) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext()
This will always return true unless the wrapped iterable was null or empty.
|
T |
next()
Returns the next element in the underlying iteration, cycling to the first element if at the
end.
|
void |
reset()
Resets the iterator to the first element.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaining, removepublic CyclicIterator(T[] array)
public boolean hasNext()
public T next()
public void reset()
Copyright © 2023 Fujion Framework. All rights reserved.