kactoos-jvm / nnl.rocks.kactoos.func / SyncFunc / <init>
SyncFunc(func: KFunc<X, Y>)
SyncFunc(func: Func<X, Y>)
SyncFunc(func: Func<X, Y>, lock: Any)
SyncFunc(proc: Proc<X>, result: Y)SyncFunc(func: KFunc<X, Y>, lock: Any)
Func that is thread-safe.
Objects of this class are thread safe.
X - Type of input
Y - Type of output
Since 0.4