Kactoos

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

UncheckedFunc

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

Func that doesn’t throw checked Exception.

There is no thread-safety guarantee.

Parameters

X - Type of input

Y - Type of output

Since 0.2

Constructors

Name Summary
<init> UncheckedFunc(func: Func<X, Y>)UncheckedFunc(func: KFunc<X, Y>)
Func that doesn’t throw checked Exception.

Functions

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