DisjunctionFilter

A filter, which applies the logical OR operation between the given filters and returns a non-null value, if any of the sub-filters returned a non-null value, or null, if all the sub-filters returned null.

Parameters

TInput

The type the filter accepts

filters

The sub-filters to evaluate

Constructors

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

Alternative constructor with variable arguments

constructor(filters: Collection<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