Constructor and Description |
---|
ArrayIterator(T[] elements) |
ArrayIterator(T[] elements,
int firstElement) |
ArrayIterator(T[] elements,
int firstElement,
int lastElement) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
T |
next() |
void |
remove()
Unsupported.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public ArrayIterator(T[] elements)
public ArrayIterator(T[] elements, int firstElement)
public ArrayIterator(T[] elements, int firstElement, int lastElement)
public T next() throws NoSuchElementException
next
in interface Iterator<T>
NoSuchElementException
public void remove()
remove
in interface Iterator<T>
UnsupportedOperationException
- alwaysCopyright (c) 2011-2015 Eike Stepper (Berlin, Germany) and others.