Kactoos

kactoos-jvm / nnl.rocks.kactoos.scalar / SolidScalar

SolidScalar

class SolidScalar<out T : Any> : Scalar<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

Constructors

Name Summary
<init> SolidScalar(scalar: KScalar<T>)SolidScalar(func: Func<Boolean, T>)
Cached and synchronized version of a KScalar.

Functions

Name Summary
invoke fun invoke(): T
Get value of this Scalar