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 |
---|---|
Optional<C> |
clusterOf(T item)
Identify the cluster containing the given item.
|
List<C> |
clusters()
Represented cluster.
|