org.biojava.bio.program.gff
Class GFFRecordFilter.StrandFilter
java.lang.Object
org.biojava.bio.program.gff.GFFRecordFilter.StrandFilter
- All Implemented Interfaces:
- GFFRecordFilter
- Enclosing interface:
- GFFRecordFilter
public static class GFFRecordFilter.StrandFilter
- extends Object
- implements GFFRecordFilter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GFFRecordFilter.StrandFilter
public GFFRecordFilter.StrandFilter()
GFFRecordFilter.StrandFilter
public GFFRecordFilter.StrandFilter(StrandedFeature.Strand strand)
setStrand
public void setStrand(StrandedFeature.Strand strand)
getStrand
public StrandedFeature.Strand getStrand()
accept
public boolean accept(GFFRecord record)
- Description copied from interface:
GFFRecordFilter
- Return whether or not to accept record.
- Specified by:
accept
in interface GFFRecordFilter
- Parameters:
record
- the GFFRecord to filter
- Returns:
- true if record
should be accepted or false otherwise