Class OverloadedNaryFunctionTest.StringSelect

java.lang.Object
com.singularsys.jep.functions.PostfixMathCommand
com.singularsys.jeptests.unit.misc.overloadedfunctions.OverloadedNaryFunctionTest.StringSelect
All Implemented Interfaces:
PostfixMathCommandI, Serializable
Enclosing class:
OverloadedNaryFunctionTest

public class OverloadedNaryFunctionTest.StringSelect extends PostfixMathCommand
See Also:
  • Constructor Details

    • StringSelect

      public StringSelect()
  • Method Details

    • run

      public void run(Stack<Object> stack) throws EvaluationException
      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:
      stack - arguments for function
      Throws:
      EvaluationException - if function cannot be evaluated