Object/Class

sbt.internal.util

Eval

Related Docs: class Eval | package util

Permalink

object Eval extends Serializable

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Eval
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. sealed abstract class Call[A] extends Eval[A]

    Permalink

    Call is a type of Eval[A] that is used to defer computations which produce Eval[A].

    Call is a type of Eval[A] that is used to defer computations which produce Eval[A].

    Users should not instantiate Call instances themselves. Instead, they will be automatically created when needed.

  2. sealed abstract class Compute[A] extends Eval[A]

    Permalink

    Compute is a type of Eval[A] that is used to chain computations involving .map and .flatMap.

    Compute is a type of Eval[A] that is used to chain computations involving .map and .flatMap. Along with Eval#flatMap it implements the trampoline that guarantees stack-safety.

    Users should not instantiate Compute instances themselves. Instead, they will be automatically created when needed.

    Unlike a traditional trampoline, the internal workings of the trampoline are not exposed. This allows a slightly more efficient implementation of the .get method.

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. object Call extends Serializable

    Permalink
  5. val False: Eval[Boolean]

    Permalink
  6. val One: Eval[Int]

    Permalink
  7. val True: Eval[Boolean]

    Permalink
  8. val Unit: Eval[Unit]

    Permalink

    Static Eval instances for some common values.

    Static Eval instances for some common values.

    These can be useful in cases where the same values may be needed many times.

  9. val Zero: Eval[Int]

    Permalink
  10. def always[A](a: ⇒ A): Eval[A]

    Permalink

    Construct a lazy Eval[A] value without caching (i.e.

    Construct a lazy Eval[A] value without caching (i.e. Always[A]).

  11. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. def defer[A](a: ⇒ Eval[A]): Eval[A]

    Permalink

    Defer a computation which produces an Eval[A] value.

    Defer a computation which produces an Eval[A] value.

    This is useful when you want to delay execution of an expression which produces an Eval[A] value. Like .flatMap, it is stack-safe.

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    Any
  20. def later[A](a: ⇒ A): Eval[A]

    Permalink

    Construct a lazy Eval[A] value with caching (i.e.

    Construct a lazy Eval[A] value with caching (i.e. Later[A]).

  21. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  24. def now[A](a: A): Eval[A]

    Permalink

    Construct an eager Eval[A] value (i.e.

    Construct an eager Eval[A] value (i.e. Now[A]).

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit

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

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

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

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped