Class

org.fusesource.scalate.util

Lazy

Related Doc: package util

Permalink

class Lazy[T] extends AnyRef

Represents a lazily loaded property

Source
Lazy.scala
Version

$Revision : 1.1 $

Linear Supertypes
AnyRef, Any
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)

    Permalink

Type Members

  1. type OwnerType = Unit

    Permalink

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    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)

    Permalink
    Implicit information
    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

    Permalink
  6. def :=[Q](v: Q)(implicit e: (Q) ⇒ T): T

    Permalink
  7. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def apply(v: T): OwnerType

    Permalink
  9. def apply[Q](v: Q)(implicit e: (Q) ⇒ T): OwnerType

    Permalink
  10. def apply(): T

    Permalink
  11. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  12. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  13. def ensuring(cond: (Lazy[T]) ⇒ Boolean, msg: ⇒ Any): Lazy[T]

    Permalink
    Implicit information
    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]

    Permalink
    Implicit information
    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]

    Permalink
    Implicit information
    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]

    Permalink
    Implicit information
    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

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

    Permalink
    Definition Classes
    AnyRef → Any
  19. def evaluated: Boolean

    Permalink
  20. def fieldOwner(): OwnerType

    Permalink
  21. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    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()
  22. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  23. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  24. final def isInstanceOf[T0]: Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  27. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  28. def set(value: T): T

    Permalink

    Set the field to the value

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  31. def unapply(): Option[T]

    Permalink
  32. def update[Q](v: Q)(implicit e: (Q) ⇒ T): Unit

    Permalink

    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

  33. def value: T

    Permalink
  34. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. def [B](y: B): (Lazy[T], B)

    Permalink
    Implicit information
    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

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

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