Kactoos

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

UncheckedScalar

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

Scalar that throws unchecked UncheckedIOException instead of checked Exception.

There is no thread-safety guarantee.

Parameters

T - Type of result

origin - Encapsulated origin

Since 0.4

Constructors

Name Summary
<init> UncheckedScalar(origin: Scalar<T>)UncheckedScalar(origin: KScalar<T>)
Scalar that throws unchecked UncheckedIOException instead of checked Exception.

Functions

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