org.cheffo.jeplite.function
Class PostfixMathCommand
java.lang.Object
|
+--org.cheffo.jeplite.function.PostfixMathCommand
- Direct Known Subclasses:
- PostfixMathCommand.Comparative, PostfixMathCommand.Divide, PostfixMathCommand.Logical, PostfixMathCommand.Modulus, PostfixMathCommand.Multiply, PostfixMathCommand.Not, PostfixMathCommand.Power, PostfixMathCommand.Subtract
- public abstract class PostfixMathCommand
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ADD
public static final PostfixMathCommand ADD
DIVIDE
public static final PostfixMathCommand DIVIDE
MULTIPLY
public static final PostfixMathCommand MULTIPLY
UMINUS
public static final PostfixMathCommand UMINUS
AND
public static final PostfixMathCommand AND
OR
public static final PostfixMathCommand OR
numberOfParameters
protected int numberOfParameters
PostfixMathCommand
public PostfixMathCommand()
getNumberOfParameters
public final int getNumberOfParameters()
operation
public double operation(double[] params)
throws ParseException
ParseException
run
public void run(DoubleStack inStack)
throws ParseException
ParseException
fillFunctionTable
public static void fillFunctionTable(java.util.HashMap funTab)