Class/Object

net.liftweb.util

FatLazy

Related Docs: object FatLazy | package util

Permalink

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)

    Permalink

    f

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

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def calculated_?: Boolean

    Permalink

    Determine whether the value of this FatLazy has been determined.

  6. def clone(): AnyRef

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

    Permalink

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

  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def get: T

    Permalink

    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[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. def reset: Unit

    Permalink

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

  19. def set(v: T): T

    Permalink

    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

    Permalink

    Copy the value of the specified FatLazy into this FatLazy

  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  23. def update(v: T): Unit

    Permalink

    and the lazy() = foo style of assignment

  24. final def wait(): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped