Kactoos

kactoos-jvm / nnl.rocks.kactoos.func / RunnableOf

RunnableOf

class RunnableOf<X : Any> : Runnable

Func as Runnable.

There is no thread-safety guarantee.

Parameters

X - Type of input

Since 0.12

Constructors

Name Summary
<init> RunnableOf(proc: Callable<X>, input: X)
RunnableOf(proc: Proc<X>, input: X)RunnableOf(func: Func<X, X>, input: X)
Func as Runnable.

Functions

Name Summary
run fun run(): Unit