org.crosswire.common.util
Interface Filter<T>

Type Parameters:
T - The type of the object subject to testing.
All Known Implementing Classes:
BookSet.GroupFilter

public interface Filter<T>

A method of filtering objects to those that match an arbitrary criteria.

Author:
DM Smith
See Also:
The GNU Lesser General Public License for details.

Method Summary
 boolean test(T obj)
          Does this given object pass the test implemented by this filter
 

Method Detail

test

boolean test(T obj)
Does this given object pass the test implemented by this filter

Parameters:
obj - The object to test
Returns:
boolean true if it passes, false otherwise

Copyright ยจ 2003-2015