Constructor and Description |
---|
Arrays.Iterator(Object[] dataArray)
Base constructor.
|
public Arrays.Iterator(Object[] dataArray)
Note: the array is not cloned, changes to it will affect the values returned by next().
dataArray
- array backing the iterator.public boolean hasNext()
hasNext
in interface com.joshvm.java.util.Iterator
public Object next()
next
in interface com.joshvm.java.util.Iterator
public void remove()
remove
in interface com.joshvm.java.util.Iterator