Match

Represents a matching filter result.

Parameters

<T>

The type a filter returns

Properties

Link copied to clipboard
@NotNull
@get:NotNull
val result: @NotNull T

Functions

Link copied to clipboard
open fun toString(): String

Inherited functions

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