/** True if feat or feats refFeat is fs */ private boolean featSetContainsFeat(FeatureSetI fs, SeqFeatureI feat) { if (fs == null || feat == null) return false; if (fs == feat) return true; if (fs == feat.getRefFeature()) return true; // This should probably be generalized(recursive) for whole ancestor tree and added to // FeatureSetI - for now only need to do feat and ref feat // could use FeatureSet.find i guess - is that what thats intended for? return false; }