ContainingFilter

class ContainingFilter<T>(collection: Collection<T>) : Iterable<T> (source)

A filter, which only yields a matching result if the given collection contains the input. This filter never skips.

Parameters

T

The type the filter accepts

collection

The collection to check for the input

Constructors

Link copied to clipboard
constructor(collection: Collection<T>)

Functions

Link copied to clipboard
open fun evaluate(value: T): <Error class: unknown class><out Unit>
Link copied to clipboard
open operator override fun iterator(): Iterator<T>
Link copied to clipboard
open override fun toString(): String

Inherited functions

Link copied to clipboard
open fun forEach(p0: Consumer<in T>)
Link copied to clipboard