public class CursorableLinkedList.Cursor extends CursorableLinkedList.ListIter implements java.util.ListIterator
| 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(java.lang.Object o) |
protected void |
checkForComod() |
void |
close()
Mark this cursor as no longer being needed.
|
protected void |
invalidate() |
protected void |
listableChanged(CursorableLinkedList.Listable elt) |
protected void |
listableInserted(CursorableLinkedList.Listable elt) |
protected void |
listableRemoved(CursorableLinkedList.Listable 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.ListIteratorpreviousIndex in class CursorableLinkedList.ListIterpublic int nextIndex()
nextIndex in interface java.util.ListIteratornextIndex in class CursorableLinkedList.ListIterpublic void add(java.lang.Object o)
add in interface java.util.ListIteratoradd in class CursorableLinkedList.ListIterprotected void listableRemoved(CursorableLinkedList.Listable elt)
protected void listableInserted(CursorableLinkedList.Listable elt)
protected void listableChanged(CursorableLinkedList.Listable elt)
protected void checkForComod()
checkForComod in class CursorableLinkedList.ListIterprotected void invalidate()
public void close()