kactoos-jvm / nnl.rocks.kactoos.func / 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.
func - Encapsulated func
X - Type of input
Y - Type of output
Since 0.4
| Name | Summary |
|---|---|
| <init> | IoCheckedFunc(func: Func<X, Y>)Func that doesn’t throw checked Exception, but throws IOException instead. |
| Name | Summary |
|---|---|
| apply | fun apply(input: X): YApply it. |