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) |
removeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic ArrayIterator(T[] values)
public static <T> ArrayIterator<T> of(T... elements)
public boolean hasNext()
public T next()
Copyright © 2016. All rights reserved.