Save This Page
Home » commons-pool-1.4-src » org.apache.commons » pool » impl » [javadoc | source]
org.apache.commons.pool.impl
public class: CursorableLinkedList.Cursor [javadoc | source]
java.lang.Object
   org.apache.commons.pool.impl.CursorableLinkedList$ListIter
      org.apache.commons.pool.impl.CursorableLinkedList$Cursor

All Implemented Interfaces:
    ListIterator

Field Summary
 boolean _valid     
Fields inherited from org.apache.commons.pool.impl.CursorableLinkedList$ListIter:
_cur,  _lastReturned,  _expectedModCount,  _nextIndex
Constructor:
 Cursor(int index) 
Method from org.apache.commons.pool.impl.CursorableLinkedList$Cursor Summary:
add,   checkForComod,   close,   invalidate,   listableChanged,   listableInserted,   listableRemoved,   nextIndex,   previousIndex
Methods from org.apache.commons.pool.impl.CursorableLinkedList$ListIter:
add,   checkForComod,   hasNext,   hasPrevious,   next,   nextIndex,   previous,   previousIndex,   remove,   set
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.commons.pool.impl.CursorableLinkedList$Cursor Detail:
 public  void add(Object o) 
 protected  void checkForComod() 
 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.
 protected  void invalidate() 
 protected  void listableChanged(CursorableLinkedList.Listable elt) 
 protected  void listableInserted(CursorableLinkedList.Listable elt) 
 protected  void listableRemoved(CursorableLinkedList.Listable elt) 
 public int nextIndex() 
 public int previousIndex()