scala

Function

object Function extends AnyRef

A module defining utility methods for higher-order functional programming .

source: Function.scala
    version
  1. 1 . 0, 29/11/2006

    authors:
  1. Martin Odersky

Inherited

  1. Hide All
  2. Show all
  1. AnyRef
  2. Any

Visibility

  1. Public
  2. All

Value Members

  1. def !=(arg0: AnyRef): Boolean

  2. def !=(arg0: Any): Boolean

    o != arg0 is the same as !(o == (arg0)).

  3. def ##(): Int

  4. def $asInstanceOf[T0](): T0

  5. def $isInstanceOf[T0](): Boolean

  6. def ==(arg0: AnyRef): Boolean

    o == arg0 is the same as if (o eq null) arg0 eq null else o.equals(arg0).

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

    o == arg0 is the same as o.equals(arg0).

  8. def asInstanceOf[T0]: T0

    This method is used to cast the receiver object to be of type T0.

  9. def chain[a](fs: Seq[(a) ⇒ a]): (a) ⇒ a

    Given a sequence of functions f1, .

  10. def clone(): AnyRef

    This method creates and returns a copy of the receiver object .

  11. def const[T, U](x: T)(y: U): T

    The constant function

  12. def curried[a1, a2, a3, a4, a5, b](f: (a1, a2, a3, a4, a5) ⇒ b): (a1) ⇒ (a2) ⇒ (a3) ⇒ (a4) ⇒ (a5) ⇒ b

    Currying for functions of arity 5 .

  13. def curried[a1, a2, a3, a4, b](f: (a1, a2, a3, a4) ⇒ b): (a1) ⇒ (a2) ⇒ (a3) ⇒ (a4) ⇒ b

    Currying for functions of arity 4 .

  14. def curried[a1, a2, a3, b](f: (a1, a2, a3) ⇒ b): (a1) ⇒ (a2) ⇒ (a3) ⇒ b

    Currying for functions of arity 3 .

  15. def curried[a1, a2, b](f: (a1, a2) ⇒ b): (a1) ⇒ (a2) ⇒ b

    Currying for functions of arity 2 .

  16. def eq(arg0: AnyRef): Boolean

    This method is used to test whether the argument (arg0) is a reference to the receiver object (this).

  17. def equals(arg0: Any): Boolean

    This method is used to compare the receiver object (this) with the argument object (arg0) for equivalence.

  18. def finalize(): Unit

    This method is called by the garbage collector on the receiver object when garbage collection determines that there are no more references to the object .

  19. def getClass(): java.lang.Class[_ <: java.lang.Object]

    Returns a representation that corresponds to the dynamic class of the receiver object .

  20. def hashCode(): Int

    Returns a hash code value for the object .

  21. def isInstanceOf[T0]: Boolean

    This method is used to test whether the dynamic type of the receiver object is T0.

  22. def ne(arg0: AnyRef): Boolean

    o.ne(arg0) is the same as !(o.eq(arg0)).

  23. def notify(): Unit

    Wakes up a single thread that is waiting on the receiver object's monitor .

  24. def notifyAll(): Unit

    Wakes up all threads that are waiting on the receiver object's monitor .

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

  26. def toString(): String

    Returns a string representation of the object .

  27. def tupled[a1, a2, a3, a4, a5, b](f: (a1, a2, a3, a4, a5) ⇒ b): ((a1, a2, a3, a4, a5)) ⇒ b

    Tupling for functions of arity 5 .

  28. def tupled[a1, a2, a3, a4, b](f: (a1, a2, a3, a4) ⇒ b): ((a1, a2, a3, a4)) ⇒ b

    Tupling for functions of arity 4 .

  29. def tupled[a1, a2, a3, b](f: (a1, a2, a3) ⇒ b): ((a1, a2, a3)) ⇒ b

    Tupling for functions of arity 3 .

  30. def tupled[a1, a2, b](f: (a1, a2) ⇒ b): ((a1, a2)) ⇒ b

    Tupling for functions of arity 2 .

  31. def uncurried[a1, a2, a3, a4, a5, b](f: (a1) ⇒ (a2) ⇒ (a3) ⇒ (a4) ⇒ (a5) ⇒ b): (a1, a2, a3, a4, a5) ⇒ b

    Uncurrying for functions of arity 5 .

  32. def uncurried[a1, a2, a3, a4, b](f: (a1) ⇒ (a2) ⇒ (a3) ⇒ (a4) ⇒ b): (a1, a2, a3, a4) ⇒ b

    Uncurrying for functions of arity 4 .

  33. def uncurried[a1, a2, a3, b](f: (a1) ⇒ (a2) ⇒ (a3) ⇒ b): (a1, a2, a3) ⇒ b

    Uncurrying for functions of arity 3 .

  34. def uncurried[a1, a2, b](f: (a1) ⇒ (a2) ⇒ b): (a1, a2) ⇒ b

    Uncurrying for functions of arity 2 .

  35. def untupled[a1, a2, a3, a4, a5, b](f: ((a1, a2, a3, a4, a5)) ⇒ b): (a1, a2, a3, a4, a5) ⇒ b

    Un-tupling for functions of arity 5 .

  36. def untupled[a1, a2, a3, a4, b](f: ((a1, a2, a3, a4)) ⇒ b): (a1, a2, a3, a4) ⇒ b

    Un-tupling for functions of arity 4 .

  37. def untupled[a1, a2, a3, b](f: ((a1, a2, a3)) ⇒ b): (a1, a2, a3) ⇒ b

    Un-tupling for functions of arity 3 .

  38. def untupled[a1, a2, b](f: ((a1, a2)) ⇒ b): (a1, a2) ⇒ b

    Un-tupling for functions of arity 2 .

  39. def wait(): Unit

  40. def wait(arg0: Long, arg1: Int): Unit

  41. def wait(arg0: Long): Unit