Package io.smallrye.common.function
Interface ExceptionBiConsumer<T,U,E extends Exception>
-
- 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 ExceptionBiConsumer<T,U,E extends Exception>
A two-argument consumer which can throw an exception.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidaccept(T t, U u)Performs this operation on the given arguments.default ExceptionBiConsumer<T,U,E>andThen(ExceptionBiConsumer<? super T,? super U,? extends E> after)default ExceptionRunnable<E>compose(ExceptionSupplier<? extends T,? extends E> before1, ExceptionSupplier<? extends U,? extends E> before2)
-
-
-
Method Detail
-
accept
void accept(T t, U u) throws E extends Exception
Performs this operation on the given arguments.
-
andThen
default ExceptionBiConsumer<T,U,E> andThen(ExceptionBiConsumer<? super T,? super U,? extends E> after)
-
compose
default ExceptionRunnable<E> compose(ExceptionSupplier<? extends T,? extends E> before1, ExceptionSupplier<? extends U,? extends E> before2)
-
-