Kactoos

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

CheckedBiFunc

class CheckedBiFunc<X : Any, Y : Any, Z : Any, E> : BiFunc<X, Y, Z>

BiFunc that throws exception of specified type.

Parameters

X - Type of input

Y - Type of input

Z - Type of output

E - Exception’s type

Since 0.4

Constructors

Name Summary
<init> CheckedBiFunc(origin: KBiFunc<X, Y, Z>, func: KFunc<Exception, E>)
BiFunc that throws exception of specified type.

Functions

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