class Lazy[T] extends AnyRef

Represents a lazily loaded property

Source
Lazy.scala
Version

$Revision : 1.1 $

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Lazy
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Lazy(thunk: ⇒ T)

Type Members

  1. type OwnerType = Unit

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from Lazy[T] to any2stringadd[Lazy[T]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Lazy[T], B)
    Implicit
    This member is added by an implicit conversion from Lazy[T] to ArrowAssoc[Lazy[T]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. def :=(v: T): T
  6. def :=[Q](v: Q)(implicit e: (Q) ⇒ T): T
  7. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def apply(v: T): OwnerType
  9. def apply[Q](v: Q)(implicit e: (Q) ⇒ T): OwnerType
  10. def apply(): T
  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  13. def ensuring(cond: (Lazy[T]) ⇒ Boolean, msg: ⇒ Any): Lazy[T]
    Implicit
    This member is added by an implicit conversion from Lazy[T] to Ensuring[Lazy[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: (Lazy[T]) ⇒ Boolean): Lazy[T]
    Implicit
    This member is added by an implicit conversion from Lazy[T] to Ensuring[Lazy[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean, msg: ⇒ Any): Lazy[T]
    Implicit
    This member is added by an implicit conversion from Lazy[T] to Ensuring[Lazy[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean): Lazy[T]
    Implicit
    This member is added by an implicit conversion from Lazy[T] to Ensuring[Lazy[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  19. def evaluated: Boolean
  20. def fieldOwner(): OwnerType
  21. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from Lazy[T] to StringFormat[Lazy[T]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  23. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  24. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. def set(value: T): T

    Set the field to the value

  30. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  31. def toString(): String
    Definition Classes
    AnyRef → Any
  32. def unapply(): Option[T]
  33. def update[Q](v: Q)(implicit e: (Q) ⇒ T): Unit

    Assignment from the underlying type.

    Assignment from the underlying type. It's ugly, but:
    field() = new_value
    field set new_value
    field.set(new_value)
    are all the same

  34. def value: T
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  38. def [B](y: B): (Lazy[T], B)
    Implicit
    This member is added by an implicit conversion from Lazy[T] to ArrowAssoc[Lazy[T]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from Lazy[T] to any2stringadd[Lazy[T]]

Inherited by implicit conversion StringFormat from Lazy[T] to StringFormat[Lazy[T]]

Inherited by implicit conversion Ensuring from Lazy[T] to Ensuring[Lazy[T]]

Inherited by implicit conversion ArrowAssoc from Lazy[T] to ArrowAssoc[Lazy[T]]

Ungrouped