Package io.smallrye.common.function
Interface ExceptionBiFunction<T,U,R,E extends Exception>
-
- All Known Subinterfaces:
ExceptionBinaryOperator<T,E>
- 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 ExceptionBiFunction<T,U,R,E extends Exception>
A two-argument function which can throw an exception.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ExceptionBiConsumer<T,U,E>andThen(ExceptionConsumer<R,? extends E> after)default <R2> ExceptionBiFunction<T,U,R2,E>andThen(ExceptionFunction<? super R,? extends R2,? extends E> after)Rapply(T t, U u)Applies this function to the given arguments.default ExceptionSupplier<R,E>compose(ExceptionSupplier<? extends T,? extends E> before1, ExceptionSupplier<? extends U,? extends E> before2)
-
-
-
Method Detail
-
andThen
default <R2> ExceptionBiFunction<T,U,R2,E> andThen(ExceptionFunction<? super R,? extends R2,? extends E> after)
-
andThen
default ExceptionBiConsumer<T,U,E> andThen(ExceptionConsumer<R,? extends E> after)
-
compose
default ExceptionSupplier<R,E> compose(ExceptionSupplier<? extends T,? extends E> before1, ExceptionSupplier<? extends U,? extends E> before2)
-
-