Class ArrayListIterator<E>
java.lang.Object
ch.nolix.base.container.arraylist.ArrayListIterator<E>
- Type Parameters:
E- is the type of the elements of the parent array of aArrayListIterator.
- All Implemented Interfaces:
CopyableIterator<E>, Copyable<CopyableIterator<E>>, Iterator<E>
- Author:
- Silvan Wyss
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> ArrayListIterator<T> forArrayAndMaxNextIndex(T[] array, int maxNextIndex) static <T> ArrayListIterator<T> forArrayAndStartIndexAndMaxNextIndex(T[] array, int startIndex, int maxIndex) getCopy()booleanhasNext()next()Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterator
forEachRemaining, remove
-
Method Details
-
forArrayAndMaxNextIndex
-
forArrayAndStartIndexAndMaxNextIndex
public static <T> ArrayListIterator<T> forArrayAndStartIndexAndMaxNextIndex(T[] array, int startIndex, int maxIndex) -
getCopy
-
hasNext
-
next
-