T - the element typepublic class ArrayIterator<T> extends ReadOnlyIterator<T>
| Constructor and Description |
|---|
ArrayIterator(T[] values) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
T |
next() |
static <T> ArrayIterator<T> |
of(T... elements) |
removepublic ArrayIterator(T[] values)
public static <T> ArrayIterator<T> of(T... elements)
public boolean hasNext()
public T next()
Copyright © 2012. All Rights Reserved.