Conjunction Filter
public final class ConjunctionFilter<TInput extends Object> implements IFilter<TInput, Unit>, Iterable<IFilter<TInput, ?>>(source)
A filter, which applies the logical AND operation between the given filters, and returns a non-null value, if all the sub-filters returned a non-null value, or null
, if any of 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 ConjunctionFilter<TInput> ConjunctionFilter<TInput extends Any>(Collection<IFilter<TInput, ?>> filters)