The array can be either an array of object or of primitives. If you know that you have an object array, the {@link ObjectArrayListIterator}class is a better choice, as it will perform better.
This iterator does not support {@link #add(Object)} or {@link #remove()}, as the array cannot be changed in size. The {@link #set(Object)} method is supported however. @see org.apache.commons.collections4.iterators.ArrayIterator @see java.util.Iterator @see java.util.ListIterator @since 3.0 @version $Id: ArrayListIterator.java 1493922 2013-06-17 20:25:23Z tn $
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|