E - Generic Element Typepublic class ArrayIterator<E> extends AbstractIterator<E> implements Iterator<E>
| Constructor and Description |
|---|
ArrayIterator(E[] elements)
Create an instance of
ArrayIterator to iterate over given array of
elements |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
E |
next() |
removeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaining, removepublic ArrayIterator(E[] elements)
ArrayIterator to iterate over given array of
elementselements - array of elements to be iteratedCopyright © 2020–2024 Prolobjectlink Project. All rights reserved.