MutRef

scalus.utils.HashConsed.MutRef
See theMutRef companion object
class MutRef[A <: AnyRef](var value: A | Null) extends HashConsedRef[A]

Attributes

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

Members list

Value members

Concrete methods

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
def setValue(a: A): Unit

Inherited methods

def isForward: Boolean

Attributes

Inherited from:
HashConsedRef

Concrete fields

var value: A | Null