Constructor and Description |
---|
ArrayIterator(T[] elements) |
ArrayIterator(T[] elements,
int firstElement) |
ArrayIterator(T[] elements,
int firstElement,
int lastElement) |
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, 2012 Eike Stepper (Berlin, Germany) and others.