Conjunction Filter
public final class ConjunctionFilter<T extends Object> implements Filter<T, Unit>, Iterable<Filter<T, ? extends Any>>(source)
A filter, which applies the logical AND operation between the given filters and returns the result. Only skips if all sub-filters skip, and only yields match if no sub-filters yield mismatch.
This filter yields the first non-skipping mismatch result of all sub-filters if any, or the first non-skipping match result of all sub-filters if any, or a new skipping filter result (when all sub-filters skip)
Parameters
T
The type the filter accepts
filters
The sub-filters to evaluate
Constructors
Link copied to clipboard
Alternative constructor with variable arguments
public ConjunctionFilter<T> ConjunctionFilter<T extends Any>(Iterable<Filter<T, ? extends Object>> filters)