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
Modifier and TypeInterfaceDescriptionstatic final class
A simple combinatorial filter that requires all inner filters to accept an element to be fulfilled.static class
Abstract definition for combinatorial filters.static final class
Simple equality filter implementation.static final class
A 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 class
A simple filter negating the single inner one.static final class
A simple combinatorial filter that requires one of the inner filters to accept an element to be fulfilled.static interface
Extension to a filter definition that provides the element in question as type safe object, if the filter accepted it.static final class
Usage 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
-