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