public class ArrayIterator extends IteratorAdapter
| Constructor and Description |
|---|
ArrayIterator(java.lang.Object[] array)
Construct an array iterator.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
java.lang.Object |
next() |
removepublic ArrayIterator(java.lang.Object[] array)
array - The array.public boolean hasNext()
hasNext in interface java.util.IteratorhasNext in class IteratorAdapterpublic java.lang.Object next()
next in interface java.util.Iteratornext in class IteratorAdapter