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, setCurNumberOfParameters
public GUMinus(GroupI group)
public void run(java.util.Stack stack) throws ParseException
run
in interface PostfixMathCommandI
run
in class PostfixMathCommand
ParseException
public java.lang.Object uminus(java.lang.Object param1) throws ParseException
ParseException
http://www.singularsys.com/jep Copyright © 2007 Singular Systems