edu.rice.cs.drjava.model.definitions.reducedmodel
Class TokenList
java.lang.Object
edu.rice.cs.drjava.model.definitions.reducedmodel.TokenList
- All Implemented Interfaces:
- ReducedModelStates
public class TokenList
- extends Object
- implements ReducedModelStates
A list of reduced model tokens. Uses ModelList as its base.
- Version:
- $Id: TokenList.java 4691 2008-12-02 23:33:27Z dlsmith $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TokenList
public TokenList()
getIterator
public TokenList.Iterator getIterator()
- Gets a TokenList.Iterator for this list. Overrides the weaker method in ModelList.Iterator.
insertFront
public void insertFront(T item)
listenerCount
public int listenerCount()
isEmpty
public boolean isEmpty()
- Returns true if the list is empty.
length
public int length()