org.holtz.zoe
Class DataStack

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<T>
              extended by org.holtz.zoe.Stack<Literal>
                  extended by org.holtz.zoe.DataStack
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<Literal>, java.util.Collection<Literal>, java.util.List<Literal>, java.util.RandomAccess

public class DataStack
extends Stack<Literal>

The data stack for the Zoel virtual machine of a Bug.

Author:
Brian Holtz
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.holtz.zoe.Stack
val2PopWhenEmpty
 
Constructor Summary
DataStack()
           
 
Method Summary
 Literal peek()
           
 
Methods inherited from class org.holtz.zoe.Stack
empty, poke, pop, push, push, toString
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
 

Constructor Detail

DataStack

public DataStack()
Method Detail

peek

public Literal peek()
Overrides:
peek in class Stack<Literal>