Interface ThrowableFunctionalInterfaces.Procedure<X extends Exception>
-
- Type Parameters:
X- the type of exception to be thrown by the procedure
- Enclosing interface:
- ThrowableFunctionalInterfaces
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface ThrowableFunctionalInterfaces.Procedure<X extends Exception>
Procedure functional interface which allows theinvokemethod to throw an exception of type X. Can be used for lambda-representations of a void method that may throw an exception.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidinvoke()Invokes the procedure.
-