public class Sum extends PostfixMathCommand
| Constructor and Description |
|---|
Sum()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
run(Stack stack)
Calculates the result of summing up all parameters, which are assumed to
be of the Double type.
|
checkNumberOfParameters, getNumberOfParameters, setCurNumberOfParameterspublic void run(Stack stack) throws ParseException
run in interface PostfixMathCommandIrun in class PostfixMathCommandParseExceptionJas4pp 1.5 © Java Analysis Studio for Particle Physics