com.jaxfront.core.jep
Class LongCast

java.lang.Object
  extended by org.nfunk.jep.function.PostfixMathCommand
      extended by com.jaxfront.core.jep.LongCast
All Implemented Interfaces:
org.nfunk.jep.function.PostfixMathCommandI

public class LongCast
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
LongCast()
          Constructor.
 
Method Summary
 void run(MathEvaluator.MathCommunicator communicator, java.util.Stack stack)
           
 
Methods inherited from class org.nfunk.jep.function.PostfixMathCommand
getNumberOfParameters, getRootNode, run, run, setCurNumberOfParameters
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LongCast

public LongCast()
Constructor.

Method Detail

run

public void run(MathEvaluator.MathCommunicator communicator,
                java.util.Stack stack)
         throws org.nfunk.jep.ParseException
Throws:
org.nfunk.jep.ParseException
See Also:
org.nfunk.jep.function.PostfixMathCommandI#run(Stack)