public static class Arrays.Iterator<T>
extends java.lang.Object
implements java.util.Iterator<T>
Constructor and Description |
---|
Arrays.Iterator(T[] dataArray)
Base constructor.
|
public Arrays.Iterator(T[] dataArray)
Note: the array is not cloned, changes to it will affect the values returned by next().
dataArray
- array backing the iterator.