public class GUMinus extends PostfixMathCommand
curNumberOfParameters, numberOfParameters| Modifier and Type | Method and Description |
|---|---|
void |
run(java.util.Stack stack)
Calculates the result of applying the "+" operator to the arguments from
the stack and pushes it back on the stack.
|
java.lang.Object |
uminus(java.lang.Object param1) |
checkNumberOfParameters, checkStack, getNumberOfParameters, setCurNumberOfParameterspublic GUMinus(GroupI group)
public void run(java.util.Stack stack)
throws ParseException
run in interface PostfixMathCommandIrun in class PostfixMathCommandParseExceptionpublic java.lang.Object uminus(java.lang.Object param1)
throws ParseException
ParseExceptionhttp://www.singularsys.com/jep Copyright © 2007 Singular Systems