Module org.maxicp

Class StateStack<E>

java.lang.Object
org.maxicp.state.datastructures.StateStack<E>
Type Parameters:
E - the type of the elements in the stack

public class StateStack<E> extends Object
Generic Stack that can be saved and restored through the StateManager.saveState() / StateManager.restoreState() methods.
  • Constructor Details

  • Method Details

    • push

      public void push(E elem)
    • size

      public int size()
    • get

      public E get(int index)