public class CursorableLinkedList.Cursor
extends java.lang.Object
implements java.util.ListIterator
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.
|
boolean |
hasNext() |
boolean |
hasPrevious() |
protected void |
invalidate() |
protected void |
listableChanged(org.apache.commons.collections.CursorableLinkedList.Listable elt) |
protected void |
listableInserted(org.apache.commons.collections.CursorableLinkedList.Listable elt) |
protected void |
listableRemoved(org.apache.commons.collections.CursorableLinkedList.Listable elt) |
java.lang.Object |
next() |
int |
nextIndex() |
java.lang.Object |
previous() |
int |
previousIndex() |
void |
remove() |
void |
set(java.lang.Object o) |
public int previousIndex()
previousIndex
in interface java.util.ListIterator
public int nextIndex()
nextIndex
in interface java.util.ListIterator
public void add(java.lang.Object o)
add
in interface java.util.ListIterator
protected void listableRemoved(org.apache.commons.collections.CursorableLinkedList.Listable elt)
protected void listableInserted(org.apache.commons.collections.CursorableLinkedList.Listable elt)
protected void listableChanged(org.apache.commons.collections.CursorableLinkedList.Listable elt)
protected void checkForComod()
protected void invalidate()
public void close()
public java.lang.Object previous()
previous
in interface java.util.ListIterator
public boolean hasNext()
hasNext
in interface java.util.Iterator
hasNext
in interface java.util.ListIterator
public java.lang.Object next()
next
in interface java.util.Iterator
next
in interface java.util.ListIterator
public boolean hasPrevious()
hasPrevious
in interface java.util.ListIterator
public void set(java.lang.Object o)
set
in interface java.util.ListIterator
public void remove()
remove
in interface java.util.Iterator
remove
in interface java.util.ListIterator
Copyright © 2001-2012 Apache Software Foundation. All Rights Reserved.