anl.aida.util
Interface Filter<T>

All Known Implementing Classes:
AndFilter, CacheCreator.AllFilter, DocumentFrequencyFilter, FieldFilter, KeywordFilter, StopWordFilter, WordFilter

public interface Filter<T>

Generic filter interface for evaluating individual items.


Method Summary
 boolean evaluate(T item)
          Evaluates an item against some implementor specific criteria and returns true if the item passes the filter.
 

Method Detail

evaluate

boolean evaluate(T item)
Evaluates an item against some implementor specific criteria and returns true if the item passes the filter.

Parameters:
item - the item to evaluate
Returns:
true if the item passes the filter, otherwise false.