⇒ Index (Frames) |  ⇒ Index (No Frames) |  ⇒ Package |  ⇒ Package Tree |  ⇒ Full Tree 
org.apache.commons.collections

Class CursorableLinkedList.Cursor

org.apache.commons.collections.CursorableLinkedList.ListIter
|
+--org.apache.commons.collections.CursorableLinkedList.Cursor
Enclosing Class:

All Implemented Interfaces:
ListIterator, ListIterator


public class CursorableLinkedList.Cursor
extends org.apache.commons.collections.CursorableLinkedList.ListIter
implements ListIterator

Method Summary

void

add(Object o)

void

checkForComod()

void

close()

Mark this cursor as no longer being needed.

void

invalidate()

void

listableChanged(org.apache.commons.collections.CursorableLinkedList.Listable elt)

void

listableInserted(org.apache.commons.collections.CursorableLinkedList.Listable elt)

void

listableRemoved(org.apache.commons.collections.CursorableLinkedList.Listable elt)

int

nextIndex()

int

previousIndex()

Method Details

add

public void add(Object o)

Parameters:
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(org.apache.commons.collections.CursorableLinkedList.Listable elt)

Parameters:
elt

listableInserted

protected void listableInserted(org.apache.commons.collections.CursorableLinkedList.Listable elt)

Parameters:
elt

listableRemoved

protected void listableRemoved(org.apache.commons.collections.CursorableLinkedList.Listable elt)

Parameters:
elt

nextIndex

public int nextIndex()


previousIndex

public int previousIndex()