java.lang .Object edu.rice.cs.drjava.model.definitions.reducedmodel .ModelList ModelList class ModelList (Code) A doubly-linked list class with header and trailer nodes. Allows multiple iterators to make modifications to the
same list without failing unlike the iterators for java.util.*List.
version: $Id: ModelList.java 4255 2007-08-28 19:17:37Z mgricken $
Inner Class :class Iterator
Method Summary public IteratorgetIterator () Create a new iterator for this list and register it as one of the listeners which are notified when the list is
updated.public voidinsertFront (T item) public booleanisEmpty () Returns true if the list is empty.public intlength () public intlistenerCount ()
ModelList ModelList() (Code) Constructor. Initializes the head and tail nodes, as well as the listener table and the length variable.
getIterator public Iterator getIterator()(Code) Create a new iterator for this list and register it as one of the listeners which are notified when the list is
updated.
insertFront public void insertFront(T item)(Code)
isEmpty public boolean isEmpty()(Code) Returns true if the list is empty.
length public int length()(Code)
listenerCount public int listenerCount()(Code)