trait Function2[-T1, -T2, +R] extends Serializable
A Function interface. Used to create 2-arg first-class-functions is Java.
Serializable
is needed to be able to grab line number for Java 8 lambdas.
- Annotations
- @SerialVersionUID()
- Source
- Function.scala
Linear Supertypes
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- Function2
- Serializable
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
-
abstract
def
apply(arg1: T1, arg2: T2): R
- Annotations
- @throws( classOf[Exception] )