class CursorableLinkedList.ListIter
extends java.lang.Object
implements java.util.ListIterator<E>
| Modifier and Type | Field and Description |
|---|---|
(package private) CursorableLinkedList.Listable<E> |
_cur |
(package private) int |
_expectedModCount |
(package private) CursorableLinkedList.Listable<E> |
_lastReturned |
(package private) int |
_nextIndex |
| Constructor and Description |
|---|
ListIter(int index) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(E o) |
protected void |
checkForComod() |
boolean |
hasNext() |
boolean |
hasPrevious() |
E |
next() |
int |
nextIndex() |
E |
previous() |
int |
previousIndex() |
void |
remove() |
void |
set(E o) |
CursorableLinkedList.Listable<E> _cur
CursorableLinkedList.Listable<E> _lastReturned
int _expectedModCount
int _nextIndex
public boolean hasNext()
public E next()
public int previousIndex()
previousIndex in interface java.util.ListIterator<E>public boolean hasPrevious()
hasPrevious in interface java.util.ListIterator<E>public int nextIndex()
nextIndex in interface java.util.ListIterator<E>public void remove()
protected void checkForComod()