ClusterType
- The type of Cluster<DataType>
created by this object.DataType
- The data type from which to create a new cluster.@CodeReview(reviewer="Kevin R. Dixon", date="2008-07-22", changesNeeded=false, comments="Interface looks fine.") public interface ClusterCreator<ClusterType extends Cluster<DataType>,DataType>
Modifier and Type | Method and Description |
---|---|
ClusterType |
createCluster(java.util.Collection<? extends DataType> members)
Create a new cluster from the given members of that cluster.
|
ClusterType createCluster(java.util.Collection<? extends DataType> members)
members
- The members of the cluster.java.lang.NullPointerException
- If members is null.