kactoos-jvm / nnl.rocks.kactoos / Proc
interface Proc<in X :
Any
>
Procedure.
X
- Type of input
Since 0.2
Name | Summary |
---|---|
exec | abstract fun exec(input: X ): Unit Execute it. |
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. |