Module io.jenetics.base
Package io.jenetics.internal.util
Interface Lifecycle.ThrowingConsumer<A,E extends Exception>
- Type Parameters:
A
- the argument typeE
- the exception type
- Enclosing class:
- Lifecycle
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A method which takes an argument and can throw an exception.
-
Method Summary
-
Method Details
-
accept
Performs this operation on the given argument.- Parameters:
arg
- the input argument- Throws:
E
- if an error occurs while executing the operation
-