public static class CollectionsX.ArrayListIterator<E> extends CollectionsX.ArrayIterator<E> implements ListIterator<E>
| Constructor and Description |
|---|
ArrayListIterator(E[] ary,
int index) |
ArrayListIterator(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, removeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasNext, next, removeforEachRemainingpublic ArrayListIterator(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 ListIterator<E>public final E previous()
previous in interface ListIterator<E>public final int nextIndex()
nextIndex in interface ListIterator<E>public final int previousIndex()
previousIndex in interface ListIterator<E>public final void set(E o)
set in interface ListIterator<E>public final void add(E o)
add in interface ListIterator<E>Copyright © 2018. All rights reserved.