|
|||||||||
| 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.Floor
public class Floor
A PostfixMathCommandI which find the smallest integer below the number ceil(pi) give 3 ceil(-i) give -4
Math.floor(double)| Field Summary |
|---|
| Fields inherited from class org.nfunk.jep.function.PostfixMathCommand |
|---|
curNumberOfParameters, numberOfParameters |
| Constructor Summary | |
|---|---|
Floor()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
floor(java.lang.Object param)
|
void |
run(java.util.Stack inStack)
Throws an exception because this method should never be called under normal circumstances. |
| Methods inherited from class org.nfunk.jep.function.PostfixMathCommand |
|---|
checkNumberOfParameters, checkStack, getNumberOfParameters, setCurNumberOfParameters |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Floor()
| Method Detail |
|---|
public void run(java.util.Stack inStack)
throws ParseException
PostfixMathCommand
run in interface PostfixMathCommandIrun in class PostfixMathCommandParseException
public java.lang.Object floor(java.lang.Object param)
throws ParseException
ParseException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||