info.aduna.clustermap
Interface Cluster

All Known Implementing Classes:
DefaultCluster

public interface Cluster

A Cluster groups a set of Objects that have the exact same Classification memberships, based on a given set of Classifications.


Method Summary
 boolean contains(Object object)
          Returns whether this Cluster contains the specified Object.
 Collection<? extends Classification> getClassifications()
          Returns the set of Classifications represented by this Cluster.
 Collection<? extends Classification> getMostSpecificClassifications()
          Returns the set of most specific Classifications represented by this Cluster.
 Collection<?> getObjects()
          Returns the set of Objects contained in this Cluster.
 int getSize()
          Returns the number of Objects contained in this Cluster.
 

Method Detail

getClassifications

Collection<? extends Classification> getClassifications()
Returns the set of Classifications represented by this Cluster.


getMostSpecificClassifications

Collection<? extends Classification> getMostSpecificClassifications()
Returns the set of most specific Classifications represented by this Cluster. This equals the entire set of Classifications minus those Classifications that also have a direct or indirect subclass present in the set.


getObjects

Collection<?> getObjects()
Returns the set of Objects contained in this Cluster.


getSize

int getSize()
Returns the number of Objects contained in this Cluster.


contains

boolean contains(Object object)
Returns whether this Cluster contains the specified Object.



Copyright © 1997-2008 Aduna. All Rights Reserved.