ContainingFilter

public final class ContainingFilter<T extends Object> implements 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
public ContainingFilter<T> ContainingFilter<T extends Any>(Collection<T> collection)

Functions

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

Inherited functions

Link copied to clipboard
public Unit forEach(Consumer<? super T> p0)
Link copied to clipboard