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