BetterModel
Toggle table of contents
1.14.1-SNAPSHOT-413
api
Target filter
api
Switch theme
Search in API
Skip to content
BetterModel
api
/
kr.toxicity.model.api.util.function
/
FloatConstantFunction
Float
Constant
Function
class
FloatConstantFunction
<
T
>
:
Record
,
FloatFunction
<
T
>
Float constant function
Parameters
value
value
<T>
type
Members
Constructors
Float
Constant
Function
Link copied to clipboard
constructor
(
)
Functions
apply
Link copied to clipboard
@
NotNull
open
fun
apply
(
value
:
Float
)
:
@
NotNull
T
Applies float
equals
Link copied to clipboard
abstract
fun
equals
(
p
:
Any
)
:
Boolean
hash
Code
Link copied to clipboard
abstract
fun
hashCode
(
)
:
Int
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
to
String
Link copied to clipboard
abstract
fun
toString
(
)
:
String