Creates a curried version of this function.
Creates a curried version of this function.
a function f
such that f(x1)(x2) == apply(x1, x2)
Creates a tupled version of this function: instead of 2 arguments, it accepts a single scala.Tuple2 argument.
Creates a tupled version of this function: instead of 2 arguments, it accepts a single scala.Tuple2 argument.
a function f
such that f((x1, x2)) == f(Tuple2(x1, x2)) == apply(x1, x2)
A function of 2 parameters.
In the following example, the definition of max is a shorthand for the anonymous class definition anonfun2: