Kactoos

kactoos-jvm / nnl.rocks.kactoos.scalar / SolidScalar / <init>

<init>

SolidScalar(scalar: KScalar<T>)SolidScalar(func: Func<Boolean, T>)

Cached and synchronized version of a KScalar.

Objects of this class are thread safe.

Parameters

T - Type of result

func - Cached func

Since 0.4

See Also

StickyScalar

SyncScalar