|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nfunk.jep.function.PostfixMathCommand
org.nfunk.jep.function.SquareRoot
| Field Summary |
| Fields inherited from class org.nfunk.jep.function.PostfixMathCommand |
curNumberOfParameters, numberOfParameters |
| Constructor Summary | |
SquareRoot()
|
|
| Method Summary | |
void |
run(java.util.Stack inStack)
Applies the function to the parameters on the stack. |
java.lang.Object |
sqrt(java.lang.Object param)
Calculates the square root of the parameter. |
| 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 |
| Constructor Detail |
public SquareRoot()
| Method Detail |
public void run(java.util.Stack inStack)
throws ParseException
run in interface PostfixMathCommandIrun in class PostfixMathCommandParseException
public java.lang.Object sqrt(java.lang.Object param)
throws ParseException
ParseException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||