T - element type of this iteratorpublic class ArrayIterator<T>
extends java.lang.Object
implements java.util.Iterator<T>
| Constructor and Description |
|---|
ArrayIterator(T... array)
Constructor.
|
ArrayIterator(T[] array,
int start,
int length)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
T |
next() |