LazyVals

scala.runtime.LazyVals$
object LazyVals

Helper methods used in thread-safe lazy vals.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
LazyVals.type

Members list

Type members

Classlikes

Used to indicate the state of a lazy val that is currently being evaluated with no other thread awaiting its result.

Used to indicate the state of a lazy val that is currently being evaluated with no other thread awaiting its result.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Evaluating.type
sealed trait LazyValControlState

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Evaluating.type
object NullValue.type
class Waiting
object Names

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Names.type

Used to indicate the state of a lazy val that has been evaluated to null.

Used to indicate the state of a lazy val that has been evaluated to null.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
NullValue.type

Used to indicate the state of a lazy val that is being evaluated and of which other threads await the result.

Used to indicate the state of a lazy val that is being evaluated and of which other threads await the result.

Attributes

Supertypes
class Object
trait Matchable
class Any

Value members

Concrete fields

final val BITS_PER_LAZY_VAL: 2L