Package org.biojava.bio.seq
Class FeatureFilter.HasAnnotation
- java.lang.Object
-
- org.biojava.bio.seq.FeatureFilter.ByAnnotationType
-
- org.biojava.bio.seq.FeatureFilter.HasAnnotation
-
- All Implemented Interfaces:
Serializable
,FeatureFilter
,OptimizableFilter
- Enclosing interface:
- FeatureFilter
public static final class FeatureFilter.HasAnnotation extends FeatureFilter.ByAnnotationType
Retrieve features that contain a given annotation with any value.- Since:
- 1.1
- Author:
- Matthew Pocock, Keith James
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.biojava.bio.seq.FeatureFilter
FeatureFilter.And, FeatureFilter.AnnotationContains, FeatureFilter.ByAncestor, FeatureFilter.ByAnnotation, FeatureFilter.ByAnnotationType, FeatureFilter.ByChild, FeatureFilter.ByClass, FeatureFilter.ByComponentName, FeatureFilter.ByDescendant, FeatureFilter.ByFeature, FeatureFilter.ByPairwiseScore, FeatureFilter.ByParent, FeatureFilter.BySequenceName, FeatureFilter.BySource, FeatureFilter.ByType, FeatureFilter.ContainedByLocation, FeatureFilter.FrameFilter, FeatureFilter.HasAnnotation, FeatureFilter.Not, FeatureFilter.OnlyChildren, FeatureFilter.OnlyDescendants, FeatureFilter.Or, FeatureFilter.OverlapsLocation, FeatureFilter.ShadowContainedByLocation, FeatureFilter.ShadowOverlapsLocation, FeatureFilter.StrandFilter
-
-
Field Summary
-
Fields inherited from interface org.biojava.bio.seq.FeatureFilter
all, leaf, none, top_level
-
-
Constructor Summary
Constructors Constructor Description HasAnnotation(Object key)
Make a new ByAnnotation that will accept features with an annotation bundle containing any value associated with 'key'.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getKey()
-
Methods inherited from class org.biojava.bio.seq.FeatureFilter.ByAnnotationType
accept, equals, getType, hashCode, isDisjoint, isProperSubset, setType, toString
-
-
-
-
Constructor Detail
-
HasAnnotation
public HasAnnotation(Object key)
Make a new ByAnnotation that will accept features with an annotation bundle containing any value associated with 'key'.- Parameters:
key
- the Object used as a key in the annotation
-
-