| Constructor and Description |
|---|
ArrayIterator(T[] data)
Creates a new wrapper for an array
|
| Modifier and Type | Method and Description |
|---|---|
static <T> ArrayIterator<T> |
fromArray(T[] data)
Creates a new ArrayIterator for an array
|
boolean |
hasNext() |
T |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic ArrayIterator(T[] data)
data - array to wrappublic static <T> ArrayIterator<T> fromArray(T[] data)
T - Type of array datadata - Array to wrap in iteratorCopyright © 2018. All rights reserved.