Disjunction Filter
public final class DisjunctionFilter<TInput extends Object> implements IFilter<TInput, Unit>, Iterable<IFilter<TInput, ?>>(source)
A filter, which applies the logical OR operation between the given filters and returns a non-null value, if any of the sub-filters returned a non-null value, or null
, if all the sub-filters returned null
.
Parameters
TInput
The type the filter accepts
filters
The sub-filters to evaluate
Constructors
Link copied to clipboard
Alternative constructor with variable arguments
public DisjunctionFilter<TInput> DisjunctionFilter<TInput extends Any>(Collection<IFilter<TInput, ?>> filters)