Home Original page

GFFRecordFilter.StrandFilter (biojava-legacy 1.9.5 API)

  • 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
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.biojava.bio.program.gff.GFFRecordFilter

        GFFRecordFilter.AcceptAll, GFFRecordFilter.FeatureFilter, GFFRecordFilter.FrameFilter, GFFRecordFilter.NotFilter, GFFRecordFilter.SequenceFilter, GFFRecordFilter.SourceFilter, GFFRecordFilter.StrandFilter
    • Field Summary

      • Fields inherited from interface org.biojava.bio.program.gff.GFFRecordFilter

        ACCEPT_ALL
    • Constructor Summary

      Constructors 
      Constructor Description
      StrandFilter()  
      StrandFilter​(StrandedFeature.Strand strand)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean accept​(GFFRecord record)

      Return whether or not to accept record.

      StrandedFeature.Strand getStrand()  
      void setStrand​(StrandedFeature.Strand strand)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • StrandFilter

        public StrandFilter()
      • StrandFilter

        public StrandFilter​(StrandedFeature.Strand strand)
    • Method Detail

      • setStrand

        public void setStrand​(StrandedFeature.Strand strand)
      • getStrand

        public StrandedFeature.Strand getStrand()
      • accept

        public boolean accept​(GFFRecord record)

        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