Mismatch

public final class Mismatch<T> extends IFilter.Result<T>(source)

Represents a mismatching filter result.

Parameters

<T>

The type a filter would return in case of a match

Functions

Link copied to clipboard
public String toString()

Inherited functions

Link copied to clipboard
public static IFilter.Result.Match<T> match<T>(@NotNull() @NotNull() T result)
Returns an instance of Match, with its result set to the given result.
Link copied to clipboard
public static IFilter.Result.Mismatch<T> mismatch<T>()
Returns an instance of Mismatch
Link copied to clipboard
public static IFilter.Result.Skip<T> skip<T>()
Returns an instance of Skip
Link copied to clipboard
public TThis withResult<TThis extends IFilter.Result<TNewResult>, TNewResult>(@NotNull() @NotNull() TNewResult result)