public abstract class UnaryNode extends FormulaNode
| Constructor and Description |
|---|
UnaryNode() |
| Modifier and Type | Method and Description |
|---|---|
FormulaNode |
getChild() |
protected abstract java.lang.String |
getOperator() |
void |
setChild(FormulaNode child)
Set the child node with the formula the child is.
|
java.lang.String |
toString()
Write this node as a string
|
valuepublic void setChild(FormulaNode child)
child - The child node.public FormulaNode getChild()
protected abstract java.lang.String getOperator()
public java.lang.String toString()
FormulaNodetoString in class FormulaNode