Package org.apache.commons.collections
Class CursorableLinkedList.ListIter
- java.lang.Object
-
- org.apache.commons.collections.CursorableLinkedList.ListIter
-
- All Implemented Interfaces:
java.util.Iterator
,java.util.ListIterator
- Direct Known Subclasses:
CursorableLinkedList.Cursor
- Enclosing class:
- CursorableLinkedList
class CursorableLinkedList.ListIter extends java.lang.Object implements java.util.ListIterator
-
-
Field Summary
Fields Modifier and Type Field Description (package private) CursorableLinkedList.Listable
_cur
(package private) int
_expectedModCount
(package private) CursorableLinkedList.Listable
_lastReturned
(package private) int
_nextIndex
-
Constructor Summary
Constructors Constructor Description ListIter(int index)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(java.lang.Object o)
protected void
checkForComod()
boolean
hasNext()
boolean
hasPrevious()
java.lang.Object
next()
int
nextIndex()
java.lang.Object
previous()
int
previousIndex()
void
remove()
void
set(java.lang.Object o)
-
-
-
Field Detail
-
_cur
CursorableLinkedList.Listable _cur
-
_lastReturned
CursorableLinkedList.Listable _lastReturned
-
_expectedModCount
int _expectedModCount
-
_nextIndex
int _nextIndex
-
-
Method Detail
-
previous
public java.lang.Object previous()
- Specified by:
previous
in interfacejava.util.ListIterator
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfacejava.util.Iterator
- Specified by:
hasNext
in interfacejava.util.ListIterator
-
next
public java.lang.Object next()
- Specified by:
next
in interfacejava.util.Iterator
- Specified by:
next
in interfacejava.util.ListIterator
-
previousIndex
public int previousIndex()
- Specified by:
previousIndex
in interfacejava.util.ListIterator
-
hasPrevious
public boolean hasPrevious()
- Specified by:
hasPrevious
in interfacejava.util.ListIterator
-
set
public void set(java.lang.Object o)
- Specified by:
set
in interfacejava.util.ListIterator
-
nextIndex
public int nextIndex()
- Specified by:
nextIndex
in interfacejava.util.ListIterator
-
remove
public void remove()
- Specified by:
remove
in interfacejava.util.Iterator
- Specified by:
remove
in interfacejava.util.ListIterator
-
add
public void add(java.lang.Object o)
- Specified by:
add
in interfacejava.util.ListIterator
-
checkForComod
protected void checkForComod()
-
-