| Package | Description |
|---|---|
| com.h3c.util.codec |
| 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.Node(int index,
CodedTree.Node... children)
Constructs a node with the given index and child nodes.
|
CodedTree(CodedTree.Node... nodes)
Constructs a coded tree with the specified root nodes.
|
| Constructor and Description |
|---|
CodedTree.Node(int index,
List<CodedTree.Node> children)
Constructs a node with the given index and child nodes.
|
Copyright © 2014. All Rights Reserved.