public class CursorableLinkedList.Cursor extends Object implements ListIterator
Modifier and Type | Method and Description |
---|---|
void |
add(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) |
Object |
next() |
int |
nextIndex() |
Object |
previous() |
int |
previousIndex() |
void |
remove() |
void |
set(Object o) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
hasNext, hasPrevious, next, previous, remove, set
public int previousIndex()
previousIndex
in interface ListIterator
public int nextIndex()
nextIndex
in interface ListIterator
public void add(Object o)
add
in interface 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 Object previous()
previous
in interface ListIterator
public boolean hasNext()
hasNext
in interface Iterator
hasNext
in interface ListIterator
public Object next()
next
in interface Iterator
next
in interface ListIterator
public boolean hasPrevious()
hasPrevious
in interface ListIterator
public void set(Object o)
set
in interface ListIterator
public void remove()
remove
in interface Iterator
remove
in interface ListIterator
Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.