abstract class LazyCell[A] extends Cell[A]

A cell that evaluates its value on demand. Cell access is unsychronized for performance reasons. However the cell may be safely accessed from multiple threads provided its create method is idempotent.

Source
Cell.scala
Linear Supertypes
Cell[A], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LazyCell
  2. Cell
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new LazyCell()

Concrete Value Members

  1. def evaluated: Boolean

    Whether or not the cell value has been evaluated yet.

    Whether or not the cell value has been evaluated yet. Sometimes it is useful to know this to avoid unnecessarily evaluating the cell value.

    Definition Classes
    Cell
  2. def toString(): String
    Definition Classes
    Cell → AnyRef → Any
  3. def value: A

    The value in the cell.

    The value in the cell. Calling this method may force the value to be evaluated.

    Definition Classes
    Cell