SuppliedFunctionSupplier

Both a supplier and function that uses a provided supplier of inputs to power the supplier output.

Author

fzzyhmstrs

Since

0.6.8

Parameters

T

input type

R

supplied and function output type

t

Supplier<T> supplier of function inputs. Used when this is called as a supplier

func

Function<T, R> function to apply inputs from the supplier or the apply call.

Constructors

Link copied to clipboard
constructor(t: Supplier<T>, func: Function<T, R>)

Functions

Link copied to clipboard
open fun <V : Any> andThen(p0: Function<in R, out V>): Function<T, V>
Link copied to clipboard
open override fun apply(t: T): R
Link copied to clipboard
open fun <V : Any> compose(p0: Function<in V, out T>): Function<V, R>
Link copied to clipboard
open override fun get(): R