com.japisoft.formula.node
Class OperatorNode

java.lang.Object
  |
  +--com.japisoft.formula.node.AbstractNode
        |
        +--com.japisoft.formula.node.OperatorNode
Direct Known Subclasses:
BinaryOperatorNode, TernaryOperatorNode, UnaryOperatorNode

public abstract class OperatorNode
extends AbstractNode

Formula Operator. operators are unary or binary for our case.

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

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

Constructor Summary
OperatorNode()
           
 
Method Summary
 java.lang.String getOperator()
           
static java.lang.String getPrettyOperator(int op)
           
 void setOperator(java.lang.String operator)
           
 
Methods inherited from class com.japisoft.formula.node.AbstractNode
addChildNode, dump, evaluate, 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

OperatorNode

public OperatorNode()
Method Detail

setOperator

public void setOperator(java.lang.String operator)

getOperator

public java.lang.String getOperator()

getPrettyOperator

public static java.lang.String getPrettyOperator(int op)