public class PuBinaryTreeNode
extends java.lang.Object
Constructor and Description |
---|
PuBinaryTreeNode(int key,
java.lang.Object value)
Constructor
|
Modifier and Type | Method and Description |
---|---|
int |
getHeight()
Get Height of this node.
|
int |
getKey()
Get key (index) of this node.
|
PuBinaryTreeNode |
getLeft()
Get left child of this node.
|
PuBinaryTreeNode |
getParent()
Get parent node of this node.
|
PuBinaryTreeNode |
getRight()
Get right child of this node.
|
java.lang.Object |
getValue()
Get value object of this node.
|
void |
setHeight(int m_height)
Set Height of this node.
|
void |
setKey(int m_key)
Set key (index) of this node.
|
void |
setLeft(PuBinaryTreeNode m_left)
Set left child of this node.
|
void |
setParent(PuBinaryTreeNode m_parent)
Set parent node of this node.
|
void |
setRight(PuBinaryTreeNode m_right)
Set right child of this node.
|
void |
setValue(java.lang.Object value)
Set value object of this node.
|
public PuBinaryTreeNode(int key, java.lang.Object value)
public void setValue(java.lang.Object value)
public java.lang.Object getValue()
public void setKey(int m_key)
public int getKey()
public void setHeight(int m_height)
public int getHeight()
public void setRight(PuBinaryTreeNode m_right)
public PuBinaryTreeNode getRight()
public void setLeft(PuBinaryTreeNode m_left)
public PuBinaryTreeNode getLeft()
public void setParent(PuBinaryTreeNode m_parent)
public PuBinaryTreeNode getParent()
"