Kactoos

kactoos-jvm / nnl.rocks.kactoos.scalar / IoCheckedScalar

IoCheckedScalar

class IoCheckedScalar<out T : Any> : Scalar<T>

KScalar that doesn’t throw checked Exception, but throws IOException instead.

There is no thread-safety guarantee.

Parameters

T - Type of result

origin - Encapsulated scalar

Since 0.4

Constructors

Name Summary
<init> IoCheckedScalar(origin: Scalar<T>)IoCheckedScalar(origin: KScalar<T>)
KScalar that doesn’t throw checked Exception, but throws IOException instead.

Functions

Name Summary
invoke fun invoke(): T
Get value of this Scalar