public class ClusterTreeLeaf extends java.lang.Object implements ClusterTreeNode
| Constructor and Description |
|---|
ClusterTreeLeaf(Cluster cluster)
Create a new ClusterTreeLeaf with the given cluster as data.
|
| Modifier and Type | Method and Description |
|---|---|
Cluster |
getCluster()
Return the cluster associated with this node.
|
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.
|
public ClusterTreeLeaf(Cluster cluster)
public Cluster getCluster()
public ClusterTreeNode getLeft()
ClusterTreeNodegetLeft in interface ClusterTreeNodepublic ClusterTreeNode getRight()
ClusterTreeNodegetRight in interface ClusterTreeNode