Package | Description |
---|---|
com.hp.util.codec |
Collection of facilities to transform data structures to some string encodement andback again, to support the persistence of those data structures.
|
Modifier and Type | Method and Description |
---|---|
CodedTree.Node |
CodedTree.Node.getParent()
Returns the parent node for this node.
|
Modifier and Type | Method and Description |
---|---|
List<CodedTree.Node> |
CodedTree.Node.getChildren()
Returns the list of child nodes for this node.
|
List<CodedTree.Node> |
CodedTree.getNodes()
Returns a reference to the list of "root" nodes in this tree.
|
Modifier and Type | Method and Description |
---|---|
void |
CodedTree.Node.addChildren(CodedTree.Node... nodes)
Adds the specified nodes as children of this node.
|
Constructor and Description |
---|
CodedTree(CodedTree.Node... nodes)
Constructs a coded tree with the specified root nodes.
|
Node(int index,
CodedTree.Node... children)
Constructs a node with the given index and child nodes.
|
Constructor and Description |
---|
Node(int index,
List<CodedTree.Node> children)
Constructs a node with the given index and child nodes.
|
Copyright © 2016. All Rights Reserved.