kactoos-jvm / nnl.rocks.kactoos.func / SyncBiFunc
class SyncBiFunc<in X :
Any
, in Y :
Any
, out Z :
Any
> :
BiFunc
<
X
,
Y
,
Z
>
BiFunc that is thread-safe.
Objects of this class are thread safe.
X
- Type of first input
Y
- Type of second input
Z
- Type of output
Since 0.4
Name | Summary |
---|---|
<init> | SyncBiFunc(func: KBiFunc < X , Y , Z >) SyncBiFunc(func: BiFunc < X , Y , Z >) SyncBiFunc(func: BiFunc < X , Y , Z >, lock: Any ) SyncBiFunc(func: KBiFunc < X , Y , Z >, lock: Any ) BiFunc that is thread-safe. |
Name | Summary |
---|---|
apply | fun apply(first: X , second: Y ): Z Apply it. |