public final class RunnableOf extends RunnableEnvelope
There is no thread-safety guarantee.
Constructor and Description |
---|
RunnableOf(Proc<? super X> proc,
X ipt)
Ctor.
|
RunnableOf(Runnable runnable)
Ctor.
|
RunnableOf(Scalar<?> scalar)
Ctor.
|
public RunnableOf(Proc<? super X> proc, X ipt)
X
- Type of inputproc
- Encapsulated procipt
- Inputpublic RunnableOf(Scalar<?> scalar)
scalar
- Encapsulated scalarpublic RunnableOf(Runnable runnable)
runnable
- Encapsulated runnableCopyright © 2017–2022 Cactoos. All rights reserved.