E - Generic type of this ArrayIteratorpublic class ArrayIterator<E> extends Object implements Iterator<E>
| Constructor and Description |
|---|
ArrayIterator(E[] array)
Default constructor.
|
public ArrayIterator(E[] array)
array - The array to iterate.public boolean hasNext()
hasNext in interface Iterator<E>Iterator.hasNext()public E next() throws NoSuchElementException
next in interface Iterator<E>NoSuchElementExceptionIterator.next()public void remove()
remove in interface Iterator<E>Iterator.remove()Copyright © 2007–2015 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.