com.japisoft.formula.node
Class BinaryOperatorNodeHP

java.lang.Object
  |
  +--com.japisoft.formula.node.AbstractNode
        |
        +--com.japisoft.formula.node.OperatorNode
              |
              +--com.japisoft.formula.node.BinaryOperatorNode
                    |
                    +--com.japisoft.formula.node.BinaryOperatorNodeHP

public class BinaryOperatorNodeHP
extends BinaryOperatorNode

This is class for BigDecimal usage This operator uses two double operands. Bad type or bad child count will throw an EvaluateException.

More information at : http://www.japisoft.com

Version:
1.1
Author:
(c) 2002-2003 JAPISOFT

Constructor Summary
BinaryOperatorNodeHP()
           
 
Method Summary
 java.lang.Object evaluate(NodeContext ctx)
           
 
Methods inherited from class com.japisoft.formula.node.OperatorNode
getOperator, getPrettyOperator, setOperator
 
Methods inherited from class com.japisoft.formula.node.AbstractNode
addChildNode, dump, getChildAt, getChildCount, getContent, getPos, isLeaf, setContent, setOp, setPos
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BinaryOperatorNodeHP

public BinaryOperatorNodeHP()
Method Detail

evaluate

public java.lang.Object evaluate(NodeContext ctx)
                          throws EvaluateException
Overrides:
evaluate in class BinaryOperatorNode
Returns:
the formula result
EvaluateException