com.banda.function.business
Class IfThenClause
java.lang.Object
org.nfunk.jep.function.PostfixMathCommand
com.banda.function.business.IfThenClause
- All Implemented Interfaces:
- org.nfunk.jep.function.PostfixMathCommandI
public class IfThenClause
- extends org.nfunk.jep.function.PostfixMathCommand
IF/Then function defined for JEP tree / parser.
| Fields inherited from class org.nfunk.jep.function.PostfixMathCommand |
curNumberOfParameters, numberOfParameters |
|
Method Summary |
void |
run(Stack stack)
Calculates the result of summing up all parameters, which are assumed
to be of the Double type. |
| Methods inherited from class org.nfunk.jep.function.PostfixMathCommand |
checkStack, getNumberOfParameters, setCurNumberOfParameters |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TAG
public static final String TAG
- See Also:
- Constant Field Values
IfThenClause
public IfThenClause()
run
public void run(Stack stack)
throws org.nfunk.jep.ParseException
- Calculates the result of summing up all parameters, which are assumed
to be of the Double type.
- Specified by:
run in interface org.nfunk.jep.function.PostfixMathCommandI- Overrides:
run in class org.nfunk.jep.function.PostfixMathCommand
- Throws:
org.nfunk.jep.ParseException
Copyright © 2012. All Rights Reserved.