Package de.espirit.common.util
Class Filter.OrFilter<T>
java.lang.Object
de.espirit.common.util.Filter.CombinedFilter<T>
de.espirit.common.util.Filter.OrFilter<T>
- All Implemented Interfaces:
Filter<T>
,Serializable
A simple combinatorial filter that requires one of the inner filters to accept an element to be fulfilled.
- Since:
- 4.1.9
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.espirit.common.util.Filter
Filter.AndFilter<T>, Filter.CombinedFilter<T>, Filter.EqualFilter<T>, Filter.ImpliesFilter<T>, Filter.NotFilter<T>, Filter.OrFilter<T>, Filter.TypedFilter<T>, Filter.Util
-
Method Summary
-
Method Details
-
accept
Accepts the questioned element if any one of the inner filters accepts it.- Parameters:
element
- The element in question.- Returns:
true
, if the element is accepted.- Since:
- 4.1.9
-
toString
Provides a textual representation of this filters.
-