|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.biojava.bio.seq.FeatureFilter.FrameFilter
public static final class FeatureFilter.FrameFilter
Accept features with a given reading frame.
| Nested Class Summary |
|---|
| Field Summary |
|---|
| Fields inherited from interface org.biojava.bio.seq.FeatureFilter |
|---|
all, leaf, none, top_level |
| Constructor Summary | |
|---|---|
FeatureFilter.FrameFilter(FramedFeature.ReadingFrame frame)
Build a new filter that matches all features of a reading frame. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FeatureFilter.FrameFilter(FramedFeature.ReadingFrame frame)
frame - the ReadingFrame to match| Method Detail |
|---|
public FramedFeature.ReadingFrame getFrame()
public boolean accept(Feature f)
accept in interface FeatureFilterf - the Feature to check
public int hashCode()
hashCode in class Objectpublic boolean equals(Object o)
equals in class Objectpublic boolean isProperSubset(FeatureFilter sup)
OptimizableFilter
isProperSubset in interface OptimizableFiltersup - the potential super set
public boolean isDisjoint(FeatureFilter filt)
OptimizableFilter
isDisjoint in interface OptimizableFilter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||