Package org.zkoss.util
Class CollectionsX.ArrayListIterator<E>
java.lang.Object
org.zkoss.util.CollectionsX.ArrayIterator<E>
org.zkoss.util.CollectionsX.ArrayListIterator<E>
- All Implemented Interfaces:
Iterator<E>,ListIterator<E>
- Enclosing class:
- CollectionsX
public static class CollectionsX.ArrayListIterator<E>
extends CollectionsX.ArrayIterator<E>
implements ListIterator<E>
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.zkoss.util.CollectionsX.ArrayIterator
hasNext, next, removeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemainingMethods inherited from interface java.util.ListIterator
hasNext, next, remove
-
Constructor Details
-
ArrayListIterator
- Parameters:
ary- an array or null.
-
ArrayListIterator
- Parameters:
ary- an array or null.
-
-
Method Details
-
hasPrevious
public final boolean hasPrevious()- Specified by:
hasPreviousin interfaceListIterator<E>
-
previous
- Specified by:
previousin interfaceListIterator<E>
-
nextIndex
public final int nextIndex()- Specified by:
nextIndexin interfaceListIterator<E>
-
previousIndex
public final int previousIndex()- Specified by:
previousIndexin interfaceListIterator<E>
-
set
- Specified by:
setin interfaceListIterator<E>
-
add
- Specified by:
addin interfaceListIterator<E>
-