org.apache.commons.collections

Class CursorableLinkedList.Cursor

public class CursorableLinkedList.Cursor extends CursorableLinkedList.ListIter implements ListIterator

Method Summary
voidadd(Object o)
protected voidcheckForComod()
voidclose()
Mark this cursor as no longer being needed.
protected voidinvalidate()
protected voidlistableChanged(CursorableLinkedList.Listable elt)
protected voidlistableInserted(CursorableLinkedList.Listable elt)
protected voidlistableRemoved(CursorableLinkedList.Listable elt)
intnextIndex()
intpreviousIndex()

Method Detail

add

public void add(Object o)

checkForComod

protected void checkForComod()

close

public void close()
Mark this cursor as no longer being needed. Any resources associated with this cursor are immediately released. In previous versions of this class, it was mandatory to close all cursor objects to avoid memory leaks. It is no longer necessary to call this close method; an instance of this class can now be treated exactly like a normal iterator.

invalidate

protected void invalidate()

listableChanged

protected void listableChanged(CursorableLinkedList.Listable elt)

listableInserted

protected void listableInserted(CursorableLinkedList.Listable elt)

listableRemoved

protected void listableRemoved(CursorableLinkedList.Listable elt)

nextIndex

public int nextIndex()

previousIndex

public int previousIndex()
Copyright © 2001-2008 Apache Software Foundation. All Rights Reserved.