public class ClusterTreeInnerNode extends java.lang.Object implements ClusterTreeNode
| Constructor and Description |
|---|
ClusterTreeInnerNode()
Create a new node with both left and right children being null.
|
| Modifier and Type | Method and Description |
|---|---|
ClusterTreeNode |
getLeft()
Return the left child of this node, or null if there is no such child.
|
ClusterTreeNode |
getRight()
Return the right child of this node, or null if there is no such child.
|
void |
setLeft(ClusterTreeNode left)
Change the left child of the node to the given one.
|
void |
setRight(ClusterTreeNode right)
Change the right child of the node to the given one.
|
public ClusterTreeInnerNode()
public ClusterTreeNode getLeft()
ClusterTreeNodegetLeft in interface ClusterTreeNodepublic ClusterTreeNode getRight()
ClusterTreeNodegetRight in interface ClusterTreeNodepublic void setLeft(ClusterTreeNode left)
left - The new left node.public void setRight(ClusterTreeNode right)
right - The new right node.