NegationFilter

A filter, which returns null, if filter returns a non-null value, and returns a non-null value, if filter returns null.

Parameters

TInput

The type the filter accepts

filter

The filter to negate

Constructors

Link copied to clipboard
constructor(filter: IFilter<TInput, *>)

Functions

Link copied to clipboard
open override fun evaluate(input: TInput): Unit?

Evaluates the filter with the given value.

Link copied to clipboard
open operator override fun iterator(): Iterator<IFilter<TInput, *>>
Link copied to clipboard
open override fun toString(): String

Inherited functions

Link copied to clipboard
open fun dump(): String

Formats the current filter as a tree, and returns the formatted string.

Link copied to clipboard
open fun forEach(p0: Consumer<in IFilter<TInput, *>>)
Link copied to clipboard