ConstRef

scalus.utils.HashConsed.ConstRef
See theConstRef companion object
case class ConstRef[A <: AnyRef](value: A) extends HashConsedRef[A]

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait HashConsedRef[A]
class Object
trait Matchable
class Any
Show all

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

Inherited methods

def isForward: Boolean

Attributes

Inherited from:
HashConsedRef
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product