Package akka.japi.function
Interface Function<T,R>
-
- All Superinterfaces:
java.io.Serializable
public interface Function<T,R> extends java.io.SerializableA Function interface. Used to create first-class-functions is Java.Serializableis needed to be able to grab line number for Java 8 lambdas. Supports throwingExceptionin the apply, which thejava.util.function.Functioncounterpart does not.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Rapply(T param)
-