OptiGUI
2.2.0-alpha.1
jvm
OptiGUI API
/
opekope2.optigui.filter
/
IFilter
/
Result
/
Mismatch
Mismatch
class
Mismatch
<
T
>
:
IFilter.Result
<
T
>
(
source
)
Represents a mismatching filter result.
Parameters
<T>
The type a
filter
would return in case of a match
Members
Functions
to
String
Link copied to clipboard
open
fun
toString
(
)
:
String
Inherited functions
match
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.
mismatch
Link copied to clipboard
open
fun
<
T
>
mismatch
(
)
:
IFilter.Result.Mismatch
<
T
>
Returns an instance of
Mismatch
skip
Link copied to clipboard
open
fun
<
T
>
skip
(
)
:
IFilter.Result.Skip
<
T
>
Returns an instance of
Skip
with
Result
Link copied to clipboard
open
fun
<
TThis
:
IFilter.Result
<
TNewResult
>
?
,
TNewResult
>
withResult
(
@
NotNull
result
:
@
NotNull
TNewResult
)
:
TThis