public static final class FeatureFilter.FrameFilter extends Object implements OptimizableFilter
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.StrandFilterall, leaf, none, top_level| Constructor and Description | 
|---|
FeatureFilter.FrameFilter(FramedFeature.ReadingFrame frame)
Build a new filter that matches all features of a reading frame. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
accept(Feature f)
Accept the Feature if it is an instance of FramedFeature and matches
 the value of getFrame(). 
 | 
boolean | 
equals(Object o)  | 
FramedFeature.ReadingFrame | 
getFrame()
Retrieve the reading frame this filter matches. 
 | 
int | 
hashCode()  | 
boolean | 
isDisjoint(FeatureFilter filt)
Returns true if this filter is disjoint from filt - that is, there is no
 Feature that is accepted by both filters. 
 | 
boolean | 
isProperSubset(FeatureFilter sup)
Returns true if this filter is a proper subset of sup - that is, for every
 feature that matches this, it also matches sup. 
 | 
public FeatureFilter.FrameFilter(FramedFeature.ReadingFrame frame)
frame - the ReadingFrame to matchpublic FramedFeature.ReadingFrame getFrame()
public boolean accept(Feature f)
accept in interface FeatureFilterf - the Feature to checkpublic boolean isProperSubset(FeatureFilter sup)
OptimizableFilterisProperSubset in interface OptimizableFiltersup - the potential super setpublic boolean isDisjoint(FeatureFilter filt)
OptimizableFilterisDisjoint in interface OptimizableFilterCopyright © 2014 BioJava. All rights reserved.