kactoos-jvm / nnl.rocks.kactoos.func / BiFuncOf
class BiFuncOf<in X :
Any
, in Y :
Any
, out Z :
Any
> :
BiFunc
<
X
,
Y
,
Z
>
Represents many possible inputs as BiFunc.
There is no thread-safety guarantee.
X
- Type of input
Y
- Type of input
Z
- Type of output
func
- Func
Since 0.4
Name | Summary |
---|---|
<init> | BiFuncOf(fnc: BiFunc < X , Y , Z >) BiFuncOf(proc: BiProc < X , Y >, result: Z ) BiFuncOf(func: KBiFunc < X , Y , Z >) Represents many possible inputs as BiFunc. |
Name | Summary |
---|---|
apply | fun apply(first: X , second: Y ): Z Apply it. |
Name | Summary |
---|---|
invoke | operator fun <Z : Any > invoke(result: Z ): BiFuncOf < Any , Any , Z > operator fun <X : Any , Z : Any > invoke(fnc: Func < X , Z >): BiFuncOf < X , Any , Z > operator fun <X : Any , Z : Any > invoke(proc: Proc < X >, result: Z ): BiFuncOf < X , Any , Z > |