com.jaxfront.core.jep
Class IntegerCast

java.lang.Object
  extended by org.nfunk.jep.function.PostfixMathCommand
      extended by 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

Constructor Summary
IntegerCast()
          Constructor.
 
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
 

Constructor Detail

IntegerCast

public IntegerCast()
Constructor.

Method Detail

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)