Interface SingleLevelClustering<T,​C extends Cluster<T>>

  • Type Parameters:
    C - Type of clusters represented
    T - Type of items contained by the clusters
    All Known Subinterfaces:

    public interface SingleLevelClustering<T,​C extends Cluster<T>>
    A grouping of structures into disjunct groups.

    Please note that this interface is marked with @Beta annotation, so it can be subject of incompatible changes or removal in later releases.

    • Method Detail

      • clusters

        List<C> clusters()
        Represented cluster.
        A list of represented clusters, containing at least 1 element.
      • clusterOf<C> clusterOf​(T item)
        Identify the cluster containing the given item.
        item - Item to look up.
        The cluster containing the given element.