import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
+import java.util.HashSet;
import java.util.List;
import java.util.Map;
+import java.util.Set;
/**
* A class that stores sequence features in a way that supports efficient
}
return false;
}
+
+ /**
+ * Returns a set of the distinct feature groups present in the collection. The
+ * set may include null.
+ *
+ * @return
+ */
+ public Set<String> getFeatureGroups()
+ {
+ Set<String> groups = new HashSet<String>();
+ for (FeatureStore featureSet : featureStore.values())
+ {
+ groups.addAll(featureSet.getFeatureGroups());
+ }
+ return groups;
+ }
}