Interface ThrowableBiConsumer<T,U>
-
- Type Parameters:
T- the type of the first argument to the operationU- the type of the second argument to the operation
- All Superinterfaces:
java.util.function.BiConsumer<T,U>
- 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 interface ThrowableBiConsumer<T,U> extends java.util.function.BiConsumer<T,U>Represents an operation that accepts two input arguments and returns no result. This is the two-arity specialization ofThrowableConsumer. Unlike most other functional interfaces,BiConsumeris expected to operate via side-effects.Permits checked exceptions unlike
BiConsumerThis is a functional interface whose functional method is
accept(Object, Object).- See Also:
ThrowableConsumer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidaccept(T t, U u)Performs this operation on the given arguments.voidacceptUnsafe(T t, U u)Performs this operation on the given arguments.
-