FloatConstantFunction

Float constant function

Parameters

value

value

<T>

type

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
@NotNull
open fun apply(value: Float): @NotNull T
Applies float
Link copied to clipboard
abstract fun equals(p: Any): Boolean
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
open fun <R> map(@NotNull mapper: @NotNull (T) -> R): @NotNull FloatFunction<R>
Maps this function to new type
Link copied to clipboard
@NotNull
open fun memoize(): @NotNull FloatFunction<T>
Memoize this function
Link copied to clipboard
open fun <T> of(@NotNull t: @NotNull T): @NotNull FloatConstantFunction<T>
Creates constant function by given value
Link copied to clipboard
abstract fun toString(): String