| Modifier and Type | Field and Description |
|---|---|
protected Object |
array
|
protected int |
i
Index into the data array
|
protected int |
n
Arrays are fixed size; precompute.
|
| Constructor and Description |
|---|
ArrayIterator(Object
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext()
|
Object |
next()
|
void |
remove()
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingprotected int i
protected Objectarray
protected int n
public ArrayIterator(Objectarray)
public boolean hasNext()
public Objectnext()
public void remove()