Kactoos

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

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.

There is no thread-safety guarantee.

Parameters

func - Encapsulated func

X - Type of input

Y - Type of input

Z - Type of output

Since 0.13

Constructors

Name Summary
<init> IoCheckedBiFunc(func: BiFunc<X, Y, Z>)
Func that doesn’t throw checked Exception, but throws IOException instead.

Functions

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