public static class CollectionsX.ArrayListIterator<E> extends CollectionsX.ArrayIterator<E> implements java.util.ListIterator<E>
Constructor and Description |
---|
ArrayListIterator(E[] ary,
int index) |
ArrayListIterator(java.lang.Object[] ary) |
Modifier and Type | Method and Description |
---|---|
void |
add(E o) |
boolean |
hasPrevious() |
int |
nextIndex() |
E |
previous() |
int |
previousIndex() |
void |
set(E o) |
hasNext, next, remove
public ArrayListIterator(java.lang.Object[] ary)
ary
- an array or null.public ArrayListIterator(E[] ary, int index)
ary
- an array or null.public final boolean hasPrevious()
hasPrevious
in interface java.util.ListIterator<E>
public final int nextIndex()
nextIndex
in interface java.util.ListIterator<E>
public final int previousIndex()
previousIndex
in interface java.util.ListIterator<E>
Copyright © 2005-2018 Potix Corporation. All Rights Reserved.