Kactoos

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

IoCheckedFunc

class IoCheckedFunc<in X : Any, out Y : Any> : Func<X, Y>

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 output

Since 0.4

Constructors

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

Functions

Name Summary
apply fun apply(input: X): Y
Apply it.