2.17.2: 2011-06-17

net.sf.basedb.util.filter
Interface Filter<T>

All Known Implementing Classes:
AllOfFilter, AnnotationFilter, AnnotationTypeFilter, AutoDetectFileFormat.IsImportableFilter, BasicItemFilter, ContextUtil.IsInContextFilter, EqualsFilter, IdentityFilter, InstanceOfFilter, InverseFilter, ItemTypeFilter, NoneOfFilter, NotNullFilter, OneOfFilter, StaticFilter

public interface Filter<T>

A filter is something that selectes or rejects an object due to some property of it. Filters are often used to filter a collection of object to create a sub-collection where all objects share some property.

Version:
2.9
Author:
Nicklas
See Also:
FilterUtil
Last modified
$Date: 2008-10-21 09:20:40 +0200 (Tue, 21 Oct 2008) $

Method Summary
 boolean evaluate(T object)
          Evaluate if the given object should pass the filter or not.
 

Method Detail

evaluate

boolean evaluate(T object)
Evaluate if the given object should pass the filter or not.

Parameters:
object - The object to evaluate
Returns:
TRUE if the object passes the filter, FALSE otherwise

2.17.2: 2011-06-17