Disjunction Filter
public final class DisjunctionFilter<T extends Object> implements Filter<T, Unit>, Iterable<Filter<T, ? extends Any>>(source)
A filter, which applies the logical OR operation between the given filters and returns the result. Only skips if all sub-filters skip, and only yields mismatch if no sub-filters yield match.
Parameters
T
The type the filter accepts
filters
The sub-filters to evaluate
Constructors
Link copied to clipboard
Alternative constructor with variable arguments
public DisjunctionFilter<T> DisjunctionFilter<T extends Any>(Iterable<Filter<T, ? extends Object>> filters)