Package org.ujmp.core.collections.list
Class FastArrayList.ListItr
- All Implemented Interfaces:
Iterator<E>
,ListIterator<E>
- Enclosing class:
- FastArrayList<E>
An optimized version of AbstractList.ListItr
-
Field Summary
Fields inherited from class org.ujmp.core.collections.list.FastArrayList.Itr
cursor, lastRet
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.ujmp.core.collections.list.FastArrayList.Itr
hasNext, next, remove
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
Methods inherited from interface java.util.ListIterator
hasNext, next, remove
-
Constructor Details
-
ListItr
ListItr(int index)
-
-
Method Details
-
hasPrevious
public boolean hasPrevious()- Specified by:
hasPrevious
in interfaceListIterator<E>
-
nextIndex
public int nextIndex()- Specified by:
nextIndex
in interfaceListIterator<E>
-
previousIndex
public int previousIndex()- Specified by:
previousIndex
in interfaceListIterator<E>
-
previous
- Specified by:
previous
in interfaceListIterator<E>
-
set
- Specified by:
set
in interfaceListIterator<E>
-
add
- Specified by:
add
in interfaceListIterator<E>
-