C
- Type of clusters representedT
- Type of items contained by the clusters@Beta @PublicAPI public interface SingleLevelClustering<T,C extends Cluster<T>>
Please note that this interface is marked with @Beta annotation, so it can be subject of incompatible changes or removal in later releases.
Modifier and Type | Method and Description |
---|---|
com.google.common.base.Optional<C> |
clusterOf(T item)
Identify the cluster containing the given item.
|
java.util.List<C> |
clusters()
Represented cluster.
|
java.util.List<C> clusters()