Package org.apache.commons.collections
Class CursorableLinkedList.ListIter
java.lang.Object
org.apache.commons.collections.CursorableLinkedList.ListIter
- All Implemented Interfaces:
Iterator
,ListIterator
- Direct Known Subclasses:
CursorableLinkedList.Cursor
- Enclosing class:
- CursorableLinkedList
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) CursorableLinkedList.Listable
(package private) int
(package private) CursorableLinkedList.Listable
(package private) int
-
Constructor Summary
Constructors -
Method Summary
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
-
Field Details
-
_cur
-
_lastReturned
CursorableLinkedList.Listable _lastReturned -
_expectedModCount
int _expectedModCount -
_nextIndex
int _nextIndex
-
-
Constructor Details
-
ListIter
ListIter(int index)
-
-
Method Details
-
previous
- Specified by:
previous
in interfaceListIterator
-
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
-
previousIndex
public int previousIndex()- Specified by:
previousIndex
in interfaceListIterator
-
hasPrevious
public boolean hasPrevious()- Specified by:
hasPrevious
in interfaceListIterator
-
set
- Specified by:
set
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
-
add
- Specified by:
add
in interfaceListIterator
-
checkForComod
protected void checkForComod()
-