Kactoos

kactoos-jvm / nnl.rocks.kactoos.func / RunnableOf / <init>

<init>

RunnableOf(proc: Callable<X>, input: X)

Parameters

proc - Encapsulated proc

Since 0.11

RunnableOf(proc: Proc<X>, input: X)

Parameters

proc - Encapsulated procRunnableOf(func: Func<X, X>, input: X)

Func as Runnable.

There is no thread-safety guarantee.

Parameters

X - Type of input

Since 0.12