Package one.empty3.apps.tree.altree
Class TreeNodeValue
- java.lang.Object
-
- one.empty3.apps.tree.altree.TreeNode
-
- one.empty3.apps.tree.altree.TreeNodeValue
-
- Direct Known Subclasses:
TreeNodeFunction
,TreeNodeOperator
,TreeNodeParameter
public abstract class TreeNodeValue extends TreeNode
-
-
Constructor Summary
Constructors Constructor Description TreeNodeValue(TreeNode parent, java.lang.Object[] values)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract java.lang.Double
eval()
java.lang.Object
getValue()
-
Methods inherited from class one.empty3.apps.tree.altree.TreeNode
getChildren, getExpressionString, getParent, setChildren, setExpressionString, setParent, setValue, toString
-
-
-
-
Constructor Detail
-
TreeNodeValue
public TreeNodeValue(TreeNode parent, java.lang.Object[] values)
-
-
Method Detail
-
eval
public abstract java.lang.Double eval() throws TreeNodeEvalException
- Overrides:
eval
in classTreeNode
- Throws:
TreeNodeEvalException
-
-