object Lazy
- Source
- BTypes.scala
- Alphabetic
- By Inheritance
- Lazy
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
eager[T <: AnyRef](value: T): Lazy[T]
create a Lazy where the result is pre-determined, typically a constant, e.g.
create a Lazy where the result is pre-determined, typically a constant, e.g. Nil None etc
- val eagerNil: Lazy[collection.immutable.Nil.type]
- val eagerNone: Lazy[None.type]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
withLock[T <: AnyRef](t: ⇒ T): Lazy[T]
create a Lazy, whose calculation is performed with
frontendLock
-
def
withLockOrEager[T <: AnyRef](beLazy: Boolean, t: ⇒ T): Lazy[T]
create a Lazy, whose calculation is conditionally performed with
frontendLock
or eagerly evaluated -
def
withoutLock[T <: AnyRef](t: ⇒ T): Lazy[T]
create a Lazy, whose calculation is performed on demand
The Scala compiler and reflection APIs.