Constructor and Description |
---|
ImplicitTreeNode() |
Modifier and Type | Method and Description |
---|---|
NodeData |
Data()
Getter for node TreeNode.
|
void |
Data(NodeData data)
Setter for node TreeNode.
|
ImplicitTreeNode |
Duplicate()
Duplicates self with same pointers and TreeNode values.
|
int |
GetLeftChildIndex()
Get value of left child's index.
|
int |
GetLeftSiblingIndex()
Get value of left sibling's index.
|
int |
GetParentIndex()
Get value of parent node's index.
|
int |
GetRightChildIndex()
Get value of right child's index.
|
int |
GetRightSiblingIndex()
Get value of right sibling's index.
|
int |
Index()
Getter for node index.
|
void |
Index(int index)
Setter for node index.
|
int |
NodeLevel()
Getter for node level.
|
void |
NodeLevel(int nodeLevel)
Setter for node level.
|
public int Index()
public void Index(int index)
index
- New index of node.public int NodeLevel()
public void NodeLevel(int nodeLevel)
public NodeData Data()
public void Data(NodeData data)
public int GetParentIndex()
public int GetLeftSiblingIndex()
public int GetRightSiblingIndex()
public int GetLeftChildIndex()
public int GetRightChildIndex()
public ImplicitTreeNode Duplicate()