scala

trait Function4

[source: scala/Function4.scala]

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

Function with 4 parameters.

Direct Known Subclasses:
NamedSend, EvElemStart

Method Summary
abstract def apply (v1 : T1, v2 : T2, v3 : T3, v4 : T4) : R
def curry : (T1) => (T2) => (T3) => (T4) => R
f(x1,x2,x3,x4) == (f.curry)(x1)(x2)(x3)(x4)
override def toString : java.lang.String
Returns a string representation of the object.
Methods inherited from AnyRef
getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Method Details
abstract def apply(v1 : T1, v2 : T2, v3 : T3, v4 : T4) : R

override def toString : java.lang.String
Returns a string representation of the object.

The default representation is platform dependent.

Returns
a string representation of the object.


def curry : (T1) => (T2) => (T3) => (T4) => R
f(x1,x2,x3,x4) == (f.curry)(x1)(x2)(x3)(x4)