public class ArrayIterator
extends java.lang.Object
implements java.util.Iterator
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Object |
array |
protected int |
i
Index into the data array
|
protected int |
n
Arrays are fixed size; precompute.
|
| Constructor and Description |
|---|
ArrayIterator(java.lang.Object array) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
java.lang.Object |
next() |
void |
remove() |
Copyright ? 2006-2025 Terence Parr