|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.nfunk.jep.function.PostfixMathCommand
com.jaxfront.core.jep.JaxfrontMathCommand
com.jaxfront.core.jep.Sum
public class Sum
The Sum function sum up all given parameters. It works only with Numbers! -1.
Constructor Summary | |
---|---|
Sum()
Constructor. |
Method Summary | |
---|---|
void |
run(MathEvaluator.MathCommunicator communicator,
java.util.Stack stack)
Calculates the result of summing up all parameters, which are assumed to be of the Double type. |
Methods inherited from class com.jaxfront.core.jep.JaxfrontMathCommand |
---|
run |
Methods inherited from class org.nfunk.jep.function.PostfixMathCommand |
---|
getNumberOfParameters, getRootNode, run, setCurNumberOfParameters |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Sum()
Method Detail |
---|
public void run(MathEvaluator.MathCommunicator communicator, java.util.Stack stack) throws org.nfunk.jep.ParseException
run
in class JaxfrontMathCommand
org.nfunk.jep.ParseException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |