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()
ClusterTreeNode
getLeft
in interface ClusterTreeNode
public ClusterTreeNode getRight()
ClusterTreeNode
getRight
in interface ClusterTreeNode