Containing Filter
public final class ContainingFilter<T extends Object> implements Filter<T, Unit>, 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