ContainingFilter

A filter, which only returns a non-null value, if the given collection contains the input.

Parameters

TInput

The type the filter accepts

collection

The collection to check for the input

Constructors

Link copied to clipboard
constructor(collection: Collection<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<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 TInput>)
Link copied to clipboard