com.jaxfront.core.jep
Class IntegerCast
java.lang.Object
org.nfunk.jep.function.PostfixMathCommand
com.jaxfront.core.jep.IntegerCast
- All Implemented Interfaces:
- org.nfunk.jep.function.PostfixMathCommandI
public class IntegerCast
- extends org.nfunk.jep.function.PostfixMathCommand
IntegerCast try to cast the given parameter to an Integer datatype. Casting
is only provided for these primitive datatypes: String Number
(double,long,int,short) boolean Other datatypes will throws a ParserException
- Version:
- 1.50
Method Summary |
void |
run(java.util.Stack stack)
|
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 |
IntegerCast
public IntegerCast()
- Constructor.
run
public void run(java.util.Stack stack)
throws org.nfunk.jep.ParseException
- Overrides:
run
in class org.nfunk.jep.function.PostfixMathCommand
- Throws:
org.nfunk.jep.ParseException
- See Also:
org.nfunk.jep.function.PostfixMathCommandI#run(Stack)