Kactoos

kactoos-jvm / nnl.rocks.kactoos / Proc

Proc

interface Proc<in X : Any>

Procedure.

Parameters

X - Type of input

Since 0.2

Functions

Name Summary
exec abstract fun exec(input: X): Unit
Execute it.

Inheritors

Name Summary
Async class Async<X : Any, Y : Any> : Func<X, Future<Y>>, Proc<X>
Func that runs in the background.
CheckedProc class CheckedProc<X : Any, E> : Proc<X>
Proc that throws exception of specified type.
IoCheckedProc class IoCheckedProc<in X : Any> : Proc<X>
Proc that doesn’t throw checked Exception, but throws java.io.IOException instead.
ProcOf class ProcOf<in X : Any> : Proc<X>
Func as Proc.
UncheckedProc class UncheckedProc<in X : Any> : Proc<X>
Proc that doesn’t throw checked Exception.