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, setCurNumberOfParameters
public void run(Stack stack) throws ParseException
run
in interface PostfixMathCommandI
run
in class PostfixMathCommand
ParseException
Jas4pp 1.5 © Java Analysis Studio for Particle Physics