Class List

All Implemented Interfaces:
PostfixMathCommandI, Serializable

public class List extends PostfixMathCommand
The list function. Returns a Vector<Object> comprising all the children. It
Author:
Rich Morris Created on 29-Feb-2004
See Also:
  • Constructor Details

    • List

      public List()
  • Method Details

    • run

      public void run(Stack<Object> inStack)
      Description copied from class: PostfixMathCommand
      Throws an exception because this method should never be called under normal circumstances. Each function should use its own run() method for evaluating the function. This includes popping off the parameters from the stack, and pushing the result back on the stack.
      Specified by:
      run in interface PostfixMathCommandI
      Overrides:
      run in class PostfixMathCommand
      Parameters:
      inStack - arguments for function