Kactoos

kactoos-jvm / nnl.rocks.kactoos.func / SolidBiFunc

SolidBiFunc

class SolidBiFunc<in X : Any, in Y : Any, out Z : Any> : BiFunc<X, Y, Z>

BiFunc that is thread-safe and sticky.

Objects of this class are thread safe.

Parameters

X - Type of first input

Y - Type of second input

Z - Type of output

Since 0.4

Constructors

Name Summary
<init> SolidBiFunc(fnc: BiFunc<X, Y, Z>, max: Int)SolidBiFunc(func: BiFunc<X, Y, Z>)
BiFunc that is thread-safe and sticky.

Functions

Name Summary
apply fun apply(first: X, second: Y): Z
Apply it.