Package org.biojava.bio.search
Class BlastLikeSearchFilter.AbstractBlastLikeSearchFilter
- java.lang.Object
-
- org.biojava.bio.search.BlastLikeSearchFilter.AbstractBlastLikeSearchFilter
-
- All Implemented Interfaces:
Serializable,BlastLikeSearchFilter
- Direct Known Subclasses:
BlastLikeSearchFilter.ByHitProperty,BlastLikeSearchFilter.BySearchProperty,BlastLikeSearchFilter.BySubHitProperty,BlastLikeSearchFilter.Not
- Enclosing interface:
- BlastLikeSearchFilter
public abstract static class BlastLikeSearchFilter.AbstractBlastLikeSearchFilter extends Object implements BlastLikeSearchFilter
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.biojava.bio.search.BlastLikeSearchFilter
BlastLikeSearchFilter.AbstractBlastLikeSearchFilter, BlastLikeSearchFilter.And, BlastLikeSearchFilter.ByHitProperty, BlastLikeSearchFilter.BySearchProperty, BlastLikeSearchFilter.BySubHitProperty, BlastLikeSearchFilter.Node, BlastLikeSearchFilter.Not, BlastLikeSearchFilter.Or
-
-
Field Summary
Fields Modifier and Type Field Description protected TriStatecachedOutcome-
Fields inherited from interface org.biojava.bio.search.BlastLikeSearchFilter
KEY_QUERY_ID
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description TriStateaccept()returns a TriState indicating the current outcome of evaluating this filter.abstract voidevaluate(BlastLikeSearchFilter.Node fch)computes the outcome of this filter on the specified node and stores it.voidreset()resets the internal state of this filter including any cached evaluations.
-
-
-
Field Detail
-
cachedOutcome
protected TriState cachedOutcome
-
-
Method Detail
-
accept
public TriState accept()
Description copied from interface:BlastLikeSearchFilterreturns a TriState indicating the current outcome of evaluating this filter. This is usually the outcome saved when evaluate(FilteringContentHandler fch) was called.- Specified by:
acceptin interfaceBlastLikeSearchFilter
-
evaluate
public abstract void evaluate(BlastLikeSearchFilter.Node fch)
Description copied from interface:BlastLikeSearchFiltercomputes the outcome of this filter on the specified node and stores it. This method is only exposed to permit it to be included in an interface. Users should not use it.- Specified by:
evaluatein interfaceBlastLikeSearchFilter
-
reset
public void reset()
Description copied from interface:BlastLikeSearchFilterresets the internal state of this filter including any cached evaluations. This method is only exposed to permit it to be included in an interface. Users should not use it.- Specified by:
resetin interfaceBlastLikeSearchFilter
-
-