BetterModel
Toggle table of contents
1.11.3-SNAPSHOT-330
api
Platform filter
api
Switch theme
Search in API
BetterModel
api
/
kr.toxicity.model.api.util.function
/
FloatFunction
Float
Function
@
FunctionalInterface
interface
FloatFunction
<
T
>
Float function
Parameters
<T>
type
Inheritors
FloatConstantFunction
Members
Functions
apply
Link copied to clipboard
@
NotNull
abstract
fun
apply
(
value
:
Float
)
:
@
NotNull
T
Applies float
map
Link copied to clipboard
open
fun
<
R
>
map
(
@
NotNull
mapper
:
@
NotNull
(
T
)
->
R
)
:
@
NotNull
FloatFunction
<
R
>
Maps this function to new type
memoize
Link copied to clipboard
@
NotNull
open
fun
memoize
(
)
:
@
NotNull
FloatFunction
<
T
>
Memoize this function
of
Link copied to clipboard
open
fun
<
T
>
of
(
@
NotNull
t
:
@
NotNull
T
)
:
@
NotNull
FloatConstantFunction
<
T
>
Creates constant function by given value