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

object Names

Attributes

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

Experimental 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

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

Attributes

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

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

Experimental
true
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

Experimental
true
Supertypes
class Object
trait Matchable
class Any

Value members

Experimental methods

Attributes

Experimental
true

Attributes

Experimental
true

Concrete fields

final val BITS_PER_LAZY_VAL: 2L