public class CursorableLinkedList.Cursor extends CursorableLinkedList.ListIter implements java.util.ListIterator<E>
| Modifier and Type | Field and Description |
|---|---|
(package private) boolean |
_valid |
_cur, _expectedModCount, _lastReturned, _nextIndex| Constructor and Description |
|---|
Cursor(int index) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(E o) |
protected void |
checkForComod() |
void |
close()
Mark this cursor as no longer being needed.
|
protected void |
invalidate() |
protected void |
listableChanged(CursorableLinkedList.Listable<E> elt) |
protected void |
listableInserted(CursorableLinkedList.Listable<E> elt) |
protected void |
listableRemoved(CursorableLinkedList.Listable<E> elt) |
int |
nextIndex() |
int |
previousIndex() |
hasNext, hasPrevious, next, previous, remove, setclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic int previousIndex()
previousIndex in interface java.util.ListIterator<E>previousIndex in class CursorableLinkedList.ListIterpublic int nextIndex()
nextIndex in interface java.util.ListIterator<E>nextIndex in class CursorableLinkedList.ListIterpublic void add(E o)
add in interface java.util.ListIterator<E>add in class CursorableLinkedList.ListIterprotected void listableRemoved(CursorableLinkedList.Listable<E> elt)
protected void listableInserted(CursorableLinkedList.Listable<E> elt)
protected void listableChanged(CursorableLinkedList.Listable<E> elt)
protected void checkForComod()
checkForComod in class CursorableLinkedList.ListIterprotected void invalidate()
public void close()