InequalityFilter

public final class InequalityFilter<T extends Object>(source)

A filter, which fails when the given value is unexpectedValue, succeeds otherwise, and never skips.

Parameters

T

The type the filter accepts

unexpectedValue

The value the filter should fail for

Constructors

Link copied to clipboard
public InequalityFilter<T> InequalityFilter<T extends Any>(T unexpectedValue)

Functions

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