scala

trait Function3

[source: scala/Function3.scala]

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

Function with 3 parameters.

Direct Known Subclasses:
RemoteApply0, SendTo, UnparsedEntityDecl, AttrDecl, DocType, FocusLost, FocusGained, TableRowsSelected, TableColumnsSelected, TableUpdated

Method Summary
abstract def apply (v1 : T1, v2 : T2, v3 : T3) : R
def curry : (T1) => (T2) => (T3) => R
f(x1,x2,x3) == (f.curry)(x1)(x2)(x3)
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) : 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) => R
f(x1,x2,x3) == (f.curry)(x1)(x2)(x3)