Interface Filter<T>
-
- All Superinterfaces:
Condition<T>
,java.io.Serializable
- All Known Implementing Classes:
AbstractFilter
,PropertySetFilter
,TagSearchFilter
public interface Filter<T> extends Condition<T>
A filter contains multiple conditions, and operates on a type of object. Instances of that object are passed through, and true/false is returned according to whether they pass the conditions of the filter.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <V,C extends Condition<V>>
CgetConditionFor(Field<T,V,C> field)
Returns the condition for the field, or null if it doesn't exist.boolean
hasConditionFor(Field<T,?,?> field)
Returns whether the filter has a condition for the field.
-