| Constructor and Description |
|---|
ArrayIterator(E[] array)
Get a new ArrayIterator for the given array.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getIndex() |
boolean |
hasNext()
Checks if the iterator has something to iterate by checking the current
iteration index against the array length.
|
E |
next() |
void |
remove()
Removes the current item from the list.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic ArrayIterator(E[] array)
public final boolean hasNext()
public final E next()
public final int getIndex()
Copyright © 2016. All rights reserved.