Package akka.japi.function
Interface Procedure<T>
-
- All Superinterfaces:
java.io.Serializable
public interface Procedure<T> extends java.io.SerializableA Procedure is like a Function, but it doesn't produce a return value.Serializableis needed to be able to grab line number for Java 8 lambdas. Supports throwingExceptionin the apply, which thejava.util.function.Consumercounterpart does not.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidapply(T param)
-
-
-
Method Detail
-
apply
void apply(T param) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-