org.biojava.bio.seq
Class FeatureFilter.And

java.lang.Object
  |
  +--org.biojava.bio.seq.FeatureFilter.And
Enclosing class:
FeatureFilter

public static class FeatureFilter.And
extends java.lang.Object
implements FeatureFilter

A filter that returns all features accepted by both child filter.

Author:
Thomas Down, Matthew Pocock
See Also:
Serialized Form

Inner classes inherited from class org.biojava.bio.seq.FeatureFilter
FeatureFilter.AcceptAllFilter, FeatureFilter.And, FeatureFilter.BySource, FeatureFilter.ByType, FeatureFilter.ContainedByLocation, FeatureFilter.Not, FeatureFilter.Or, FeatureFilter.OverlapsLocation
 
Fields inherited from interface org.biojava.bio.seq.FeatureFilter
all
 
Constructor Summary
FeatureFilter.And(FeatureFilter c1, FeatureFilter c2)
           
 
Method Summary
 boolean accept(Feature f)
          This method determines whether a fetaure is to be accepted.
 FeatureFilter getChild1()
           
 FeatureFilter getChild2()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FeatureFilter.And

public FeatureFilter.And(FeatureFilter c1,
                         FeatureFilter c2)
Method Detail

getChild1

public FeatureFilter getChild1()

getChild2

public FeatureFilter getChild2()

accept

public boolean accept(Feature f)
Description copied from interface: FeatureFilter
This method determines whether a fetaure is to be accepted.
Specified by:
accept in interface FeatureFilter
Tags copied from interface: FeatureFilter
Parameters:
f - the Feature to evaluate
Returns:
true if this feature is to be selected in, or false if it is to be ignored