Package org.apache.commons.pool.impl
Class CursorableLinkedList.ListIter
- java.lang.Object
-
- org.apache.commons.pool.impl.CursorableLinkedList.ListIter
-
- All Implemented Interfaces:
java.util.Iterator<E>,java.util.ListIterator<E>
- Direct Known Subclasses:
CursorableLinkedList.Cursor
- Enclosing class:
- CursorableLinkedList<E>
class CursorableLinkedList.ListIter extends java.lang.Object implements java.util.ListIterator<E>
-
-
Field Summary
Fields Modifier and Type Field Description (package private) CursorableLinkedList.Listable<E>_cur(package private) int_expectedModCount(package private) CursorableLinkedList.Listable<E>_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 voidadd(E o)protected voidcheckForComod()booleanhasNext()booleanhasPrevious()Enext()intnextIndex()Eprevious()intpreviousIndex()voidremove()voidset(E o)
-
-
-
Field Detail
-
_cur
CursorableLinkedList.Listable<E> _cur
-
_lastReturned
CursorableLinkedList.Listable<E> _lastReturned
-
_expectedModCount
int _expectedModCount
-
_nextIndex
int _nextIndex
-
-
Method Detail
-
hasNext
public boolean hasNext()
-
next
public E next()
-
previousIndex
public int previousIndex()
- Specified by:
previousIndexin interfacejava.util.ListIterator<E>
-
hasPrevious
public boolean hasPrevious()
- Specified by:
hasPreviousin interfacejava.util.ListIterator<E>
-
nextIndex
public int nextIndex()
- Specified by:
nextIndexin interfacejava.util.ListIterator<E>
-
remove
public void remove()
-
checkForComod
protected void checkForComod()
-
-