Package com.github.ygimenez.model
Interface ThrowingBiConsumer<A,B>
- Type Parameters:
A- the type of the first argument to the operation.B- the type of the second argument to the operation.
- All Superinterfaces:
BiConsumer<A,B>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Represents an operation that accepts two input arguments and returns no
result. This is the throwing specialization of
BiConsumer.
This is a functional interface
whose functional method is accept(Object, Object).
-
Method Summary
Methods inherited from interface java.util.function.BiConsumer
andThen
-
Method Details
-
acceptThrows
Performs this operation on the given arguments.- Parameters:
a- the first input argument.b- the second input argument.- Throws:
RuntimeException- Thrown if any exception happens during lambda execution.
-
accept
- Specified by:
acceptin interfaceBiConsumer<A,B>
-