Packages

class FatLazy[T] extends AnyRef

A class that does lazy evaluation

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FatLazy
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FatLazy(f: ⇒ T)

    f

    -- a function that evaluates to the default value of the instance

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def calculated_?: Boolean

    Determine whether the value of this FatLazy has been determined.

  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def defined_?: Boolean

    Test whether the value of this class has been set or initialized from the default.

  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def get: T

    Get the value of the instance.

    Get the value of the instance. If it's not yet been set, call f to calculate it

    returns

    the value of the instance

  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  18. def reset: Unit

    Reset the value of this FatLazy to the default (which will be lazily determined on retrieval.)

  19. def set(v: T): T

    Set the instance to a new value and return that value

    Set the instance to a new value and return that value

    v

    - the new value of the instance

    returns

    v

  20. def setFrom(other: FatLazy[T]): Unit

    Copy the value of the specified FatLazy into this FatLazy

  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. def update(v: T): Unit

    and the lazy() = foo style of assignment

  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped