NegationFilter

public final class NegationFilter<T extends Object> implements Iterable<<Error class: unknown class><T, ? extends <Error class: unknown class>>>(source)

A filter, which returns the opposite result of the provided filter.

IFilter.Result.Match and IFilter.Result.Mismatch are opposites. IFilter.Result.Skip is the opposite of itself.

Parameters

T

The type the filter accepts

filter

The filter to negate

Constructors

Link copied to clipboard
public NegationFilter<T> NegationFilter<T extends Any>(<Error class: unknown class><T, ? extends <Error class: unknown class>> filter)

Functions

Link copied to clipboard
public <Error class: unknown class><? extends Unit> evaluate(T value)
Link copied to clipboard
public Iterator<<Error class: unknown class><T, ? extends Object>> iterator()
Link copied to clipboard
public String toString()

Inherited functions

Link copied to clipboard
public Unit forEach(Consumer<? super <Error class: unknown class><T, ? extends <Error class: unknown class>>> p0)
Link copied to clipboard
public Spliterator<<Error class: unknown class><T, ? extends <Error class: unknown class>>> spliterator()