public static class Arrays.Iterator<T>
extends java.lang.Object
implements java.util.Iterator<T>
| Constructor and Description |
|---|
Iterator(T[] dataArray)
Base constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
T |
next() |
void |
remove() |
public Iterator(T[] dataArray)
Note: the array is not cloned, changes to it will affect the values returned by next().
dataArray - array backing the iterator.