Package org.apache.commons.collections
Class FastArrayList.ListIter
java.lang.Object
org.apache.commons.collections.FastArrayList.ListIter
- All Implemented Interfaces:
Iterator
,ListIterator
- Enclosing class:
- FastArrayList
-
Field Details
-
expected
-
iter
-
lastReturnedIndex
private int lastReturnedIndex
-
-
Constructor Details
-
ListIter
public ListIter(int i)
-
-
Method Details
-
checkMod
private void checkMod() -
get
List get() -
hasNext
public boolean hasNext()- Specified by:
hasNext
in interfaceIterator
- Specified by:
hasNext
in interfaceListIterator
-
next
- Specified by:
next
in interfaceIterator
- Specified by:
next
in interfaceListIterator
-
hasPrevious
public boolean hasPrevious()- Specified by:
hasPrevious
in interfaceListIterator
-
previous
- Specified by:
previous
in interfaceListIterator
-
previousIndex
public int previousIndex()- Specified by:
previousIndex
in interfaceListIterator
-
nextIndex
public int nextIndex()- Specified by:
nextIndex
in interfaceListIterator
-
remove
public void remove()- Specified by:
remove
in interfaceIterator
- Specified by:
remove
in interfaceListIterator
-
set
- Specified by:
set
in interfaceListIterator
-
add
- Specified by:
add
in interfaceListIterator
-