kactoos-jvm / nnl.rocks.kactoos / BiFunc
interface BiFunc<in X :
Any
, in Y :
Any
, out Z :
Any
>
Function that accepts two arguments.
Since 0.2
Name | Summary |
---|---|
apply | abstract fun apply(first: X , second: Y ): Z Apply it. |
Name | Summary |
---|---|
BiFuncOf | class BiFuncOf<in X : Any , in Y : Any , out Z : Any > : BiFunc < X , Y , Z > Represents many possible inputs as BiFunc. |
CheckedBiFunc | class CheckedBiFunc<X : Any , Y : Any , Z : Any , E> : BiFunc < X , Y , Z > BiFunc that throws exception of specified type. |
IoCheckedBiFunc | class IoCheckedBiFunc<in X : Any , in Y : Any , out Z : Any > : BiFunc < X , Y , Z > Func that doesn’t throw checked Exception, but throws IOException instead. |
SolidBiFunc | class SolidBiFunc<in X : Any , in Y : Any , out Z : Any > : BiFunc < X , Y , Z > BiFunc that is thread-safe and sticky. |
StickyBiFunc | class StickyBiFunc<in X : Any , in Y : Any , out Z : Any > : BiFunc < X , Y , Z > Func that accepts two arguments and caches previously calculated values and doesn’t recalculate again. |
SyncBiFunc | class SyncBiFunc<in X : Any , in Y : Any , out Z : Any > : BiFunc < X , Y , Z > BiFunc that is thread-safe. |
UncheckedBiFunc | class UncheckedBiFunc<in X : Any , in Y : Any , out Z : Any > : BiFunc < X , Y , Z > BiFunc that doesn’t throw checked Exception. |