BetterModel
Toggle table of contents
1.9.3-SNAPSHOT-240
api
Platform filter
api
Switch theme
Search in API
BetterModel
api
/
kr.toxicity.model.api.util
/
FunctionUtil
/
asSupplier
as
Supplier
open
fun
<
T
>
asSupplier
(
@
NotNull
t
:
@
NotNull
T
)
:
@
NotNull
Supplier
<
T
>
Makes constant value as supplier.
Return
supplier that returns always the same object.
Parameters
t
value
<T>
supplier