t

akka.japi.function

Function

trait Function[-T, +R] extends Serializable

A Function interface. Used to create 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.Function counterpart does not.

Annotations
@silent() @SerialVersionUID()
Source
Function.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Function
  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(param: T): R
    Annotations
    @throws( classOf[Exception] )