public class GSubtract extends PostfixMathCommand
Modifier and Type | Method and Description |
---|---|
void |
run(Stack stack)
Calculates the result of applying the "+" operator to the arguments from
the stack and pushes it back on the stack.
|
Object |
sub(Object param1,
Object param2) |
checkNumberOfParameters, getNumberOfParameters, setCurNumberOfParameters
public GSubtract(GroupI group)
public void run(Stack stack) throws ParseException
run
in interface PostfixMathCommandI
run
in class PostfixMathCommand
ParseException
public Object sub(Object param1, Object param2) throws ParseException
ParseException
Jas4pp 1.5 © Java Analysis Studio for Particle Physics