| Constructor and Description |
|---|
ArrayIterator(T... array)
Creates a new
ArrayIterator for the specified array. |
ArrayIterator(T[] array,
int start,
int length)
Creates a new
ArrayIterator for the specified array, starting at the specified
start index and continuing for the specified length. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
E |
next() |
void |
remove() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEachRemainingpublic ArrayIterator(T... array)
ArrayIterator for the specified array.array - The object containing the items to iterate overpublic ArrayIterator(T[] array,
int start,
int length)
ArrayIterator for the specified array, starting at the specified
start index and continuing for the specified length.array - The object containing the items to iterate overstart - The beginning of the iterationlength - The length of the iterationIllegalArgumentException - The start index is either a negative value or greater than
the length of the array or the length to copy goes beyond the length of the arrayCopyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.