T
- Element typepublic final class ScalarOf<T> extends ScalarEnvelope<T>
public ScalarOf(Runnable runnable, T result)
runnable
- Encapsulated procresult
- Result to returnpublic ScalarOf(Proc<? super X> proc, X ipt, T result)
X
- Type of inputproc
- Encapsulated procipt
- Inputresult
- Result to returnpublic ScalarOf(Func<? super X,? extends T> fnc, X ipt)
X
- Type of inputfnc
- Encapsulated funcipt
- InputCopyright © 2017–2021 Cactoos. All rights reserved.