com.japisoft.formula.node
Class UnaryOperatorNodeHP

java.lang.Object
  |
  +--com.japisoft.formula.node.AbstractNode
        |
        +--com.japisoft.formula.node.OperatorNode
              |
              +--com.japisoft.formula.node.UnaryOperatorNode
                    |
                    +--com.japisoft.formula.node.UnaryOperatorNodeHP

public class UnaryOperatorNodeHP
extends UnaryOperatorNode

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

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

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

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

UnaryOperatorNodeHP

public UnaryOperatorNodeHP()
Method Detail

evaluate

public java.lang.Object evaluate(NodeContext ctx)
                          throws EvaluateException
Overrides:
evaluate in class UnaryOperatorNode
EvaluateException