Memoise

play.docs.Memoise
class Memoise[-T, +R](f: T => R) extends T => R

Memoise a function.

Attributes

Graph
Supertypes
trait T => R
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def apply(v: T): R

Inherited methods

def andThen[A](g: R => A): T1 => A

Attributes

Inherited from:
Function1
def compose[A](g: A => T): A => R

Attributes

Inherited from:
Function1
override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Function1 -> Any
Inherited from:
Function1