Object/Trait

scalaz

Memo

Related Docs: trait Memo | package scalaz

Permalink

object Memo extends MemoFunctions with MemoInstances

Source
Memo.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Memo
  2. MemoInstances
  3. MemoFunctions
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

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. def arrayMemo[V >: Null](n: Int)(implicit arg0: ClassManifest[V]): Memo[Int, V]

    Permalink

    Cache results in an n-long array.

    Cache results in an n-long array.

    Definition Classes
    MemoFunctions
  5. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def doubleArrayMemo(n: Int, sentinel: Double = 0d): Memo[Int, Double]

    Permalink

    As with arrayMemo, but memoizing double results != sentinel.

    As with arrayMemo, but memoizing double results != sentinel.

    Definition Classes
    MemoFunctions
  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. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  13. def immutableHashMapMemo[K, V]: Memo[K, V]

    Permalink

    Cache results in a hash map.

    Cache results in a hash map. Nonsensical unless K has a meaningful hashCode and java.lang.Object.equals. As this memo uses a single var, it's thread-safe.

    Definition Classes
    MemoFunctions
  14. def immutableListMapMemo[K, V]: Memo[K, V]

    Permalink

    Cache results in a list map.

    Cache results in a list map. Nonsensical unless K has a meaningful java.lang.Object.equals. As this memo uses a single var, it's thread-safe.

    Definition Classes
    MemoFunctions
  15. def immutableTreeMapMemo[K, V](implicit arg0: scala.Ordering[K]): Memo[K, V]

    Permalink

    Cache results in a tree map.

    Cache results in a tree map. As this memo uses a single var, it's thread-safe.

    Definition Classes
    MemoFunctions
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. def memo[K, V](f: ((K) ⇒ V) ⇒ (K) ⇒ V): Memo[K, V]

    Permalink
    Definition Classes
    MemoFunctions
  18. def mutableHashMapMemo[K, V]: Memo[K, V]

    Permalink

    Cache results in a scala.collection.mutable.HashMap.

    Cache results in a scala.collection.mutable.HashMap. Nonsensical if K lacks a meaningful hashCode and java.lang.Object.equals.

    Definition Classes
    MemoFunctions
  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. def nilMemo[K, V]: Memo[K, V]

    Permalink
    Definition Classes
    MemoFunctions
  21. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  23. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. def weakHashMapMemo[K, V]: Memo[K, V]

    Permalink

    As with mutableHashMapMemo, but forget elements according to GC pressure.

    As with mutableHashMapMemo, but forget elements according to GC pressure.

    Definition Classes
    MemoFunctions

Inherited from MemoInstances

Inherited from MemoFunctions

Inherited from AnyRef

Inherited from Any

Ungrouped