t

akka.japi.function

Function2

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. Supports throwing Exception in the apply, which the java.util.function.BiFunction counterpart does not.

Annotations
@silent() @SerialVersionUID()
Source
Function.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Function2
  2. Serializable
  3. AnyRef
  4. 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(arg1: T1, arg2: T2): R
    Annotations
    @throws( classOf[Exception] )