edu.rice.cs.drjava.model.definitions.reducedmodel
Class TokenList
java.lang.Object
|
+--edu.rice.cs.drjava.model.definitions.reducedmodel.ModelList
|
+--edu.rice.cs.drjava.model.definitions.reducedmodel.TokenList
- All Implemented Interfaces:
- ReducedModelStates
- public class TokenList
- extends ModelList
- implements ReducedModelStates
A list of reduced model tokens. Uses ModelList as its base.
- Version:
- $Id: TokenList.java,v 1.10 2002/08/10 23:52:51 cmcgraw Exp $
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
TokenList
public TokenList()
_getIterator
public TokenList.Iterator _getIterator()
- Gets a TokenList.Iterator for this list.
getIterator() returns a ModelList.Iterator
which is not as fully featured as a TokenList.Iterator.
The underscore differentiates between the two. This
differentiation was easiest since it allowed us to keep
TokenList.Iterator extending ModelList.Iterator.
insertFront
public void insertFront(Object x0)
- Overrides:
insertFront
in class ModelList