Packages

t

scala

Function4

trait Function4[-T1, -T2, -T3, -T4, +R] extends AnyRef

A function of 4 parameters.

Self Type
(T1, T2, T3, T4) ⇒ R
Source
Function4.scala
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Function4
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def apply(v1: T1, v2: T2, v3: T3, v4: T4): R

    Apply the body of this function to the arguments.

    Apply the body of this function to the arguments.

    returns

    the result of function application.

Concrete Value Members

  1. def curried: (T1) ⇒ (T2) ⇒ (T3) ⇒ (T4) ⇒ R

    Creates a curried version of this function.

    Creates a curried version of this function.

    returns

    a function f such that f(x1)(x2)(x3)(x4) == apply(x1, x2, x3, x4)

    Annotations
    @unspecialized()
  2. def toString(): String

    Creates a String representation of this object.

    Creates a String representation of this object. The default representation is platform dependent. On the java platform it is the concatenation of the class name, "@", and the object's hashcode in hexadecimal.

    returns

    a String representation of the object.

    Definition Classes
    Function4 → AnyRef → Any
  3. def tupled: ((T1, T2, T3, T4)) ⇒ R

    Creates a tupled version of this function: instead of 4 arguments, it accepts a single scala.Tuple4 argument.

    Creates a tupled version of this function: instead of 4 arguments, it accepts a single scala.Tuple4 argument.

    returns

    a function f such that f((x1, x2, x3, x4)) == f(Tuple4(x1, x2, x3, x4)) == apply(x1, x2, x3, x4)

    Annotations
    @unspecialized()