Match

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

Represents a matching filter result.

Parameters

<T>

The type a filter returns

Properties

Link copied to clipboard
@NotNull()
public final @NotNull() T result

Functions

Link copied to clipboard
@NotNull()
public @NotNull() T getResult()
Gets the result of the filter.
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)