V
- The value object classpublic class ValueNode<V> extends Object
Modifier and Type | Method and Description |
---|---|
void |
addChild(ValueNode<V> node)
Adds a child object to this node
|
List<ValueNode<V>> |
getChildren()
Returns a children for this node
|
List<V> |
getChildrenValues()
Returns all Children values
|
V |
getValue()
Returns the value object of this node
|
boolean |
hasChildren()
Checks if this node has children
|
boolean |
isLeaf()
Checks if the node is a leaf node
|
void |
setChildren(List<ValueNode<V>> aChildren)
Sets the children for this node
|
void |
setValue(V aValue)
Sets the value object of this node
|
public ValueNode()
public ValueNode(V aValue)
Copyright © 2011–2015. All rights reserved.