Package net.sf.basedb.util.filter
Interface Filter<T>
-
- All Known Implementing Classes:
AllOfFilter
,AnnotationFilter
,AnnotationLoaderUtil
,AnnotationTypeFilter
,AutoDetectFileFormat.IsImportableFilter
,BasicItemFilter
,ContextUtil.IsInContextFilter
,DeletedFilter
,DisabledInheritanceFilter
,EqualsFilter
,ExtensionPointFilter
,GeoLocation.ResponseFilter
,HasAttributeFilter
,IdentityFilter
,IgnoreFilter
,InheritAnnotationsManager.AnnotationTypeFilter
,InheritAnnotationsManager.UsableParentFilter
,InheritSpecification
,InstalledFilter
,InstallFilter
,InstanceOfFilter
,InvalidAndModifiedFilter
,InverseFilter
,ItemTypeFilter
,NodeTypeFilter
,NoneOfFilter
,NotNullFilter
,OneOfFilter
,PluginDefinitionFilter
,ProjectSpecificInfoFilter
,RawDataTypeFilter
,ReturnClassFilter
,StaticFilter
,SubtypeFilter
,UninstallFilter
,ValidAndNewOrModifiedFilter
,WasProcessedFilter
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 (ti, 21 okt 2008) $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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
-
-