Package org.ametys.core.util
Interface LambdaUtils.ThrowingConsumer<T>
- Type Parameters:
T
- the type of the input to the operation
- All Superinterfaces:
LambdaUtils.ThrowingConsumerExceptionAware<T,
Exception>
- Enclosing class:
- LambdaUtils
- 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 LambdaUtils.ThrowingConsumer<T>
extends LambdaUtils.ThrowingConsumerExceptionAware<T,Exception>
Consumer allowed to throw checked
It allows to build one-line lambda for methods throwing checked exceptions.
Exception
. It allows to build one-line lambda for methods throwing checked exceptions.
-
Method Summary
Methods inherited from interface org.ametys.core.util.LambdaUtils.ThrowingConsumerExceptionAware
accept