CachedTaggedRef

scalus.utils.HashConsed.CachedTaggedRef
class CachedTaggedRef[A <: AnyRef](val tag: Tag, val ref: HashConsedRef[A]) extends HashConsedRef[A]

Attributes

Graph
Supertypes
trait HashConsedRef[A]
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def cache: A | Null
override def finValue(hashConsed: State, level: Int, parents: HSRIdentityHashMap): A

Should be called after the decoding of the whole structures.

Should be called after the decoding of the whole structures.

Attributes

Returns

valua of A

Definition Classes
override def isComplete(hashConsed: State): Boolean

Attributes

Returns

true if we have fully data object here and finValue can be called regradless of the state. used for optimization.

Definition Classes

Inherited methods

def isForward: Boolean

Attributes

Inherited from:
HashConsedRef

Concrete fields

val ref: HashConsedRef[A]
val tag: Tag