Package de.espirit.common.util
Interface Filter<T>
- Type Parameters:
T- Type of elements to filter on.
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
Filter.TypedFilter<T>
- All Known Implementing Classes:
Filter.AndFilter,Filter.CombinedFilter,Filter.EqualFilter,Filter.ImpliesFilter,Filter.NotFilter,Filter.OrFilter,StoreElementFilter,TypedFilter
Interface to be implemented by filters on specific types.
- Since:
- 4.1.9
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA simple combinatorial filter that requires all inner filters to accept an element to be fulfilled.static classAbstract definition for combinatorial filters.static final classSimple equality filter implementation.static final classA filter implementation accepting elements based on a logical consequence concept, i.e., it accepts an element, if the implication accepting the element is a consequence of the condition accepting it.static final classA simple filter negating the single inner one.static final classA simple combinatorial filter that requires one of the inner filters to accept an element to be fulfilled.static interfaceExtension to a filter definition that provides the element in question as type safe object, if the filter accepted it.static final classUsage example -
Method Summary
-
Method Details
-
accept
Determines, whether the given element should be accepted by this filter.- Parameters:
element- The element to test.- Since:
- 4.1.9
-