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) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html