Package org.wildfly.common.function
Interface ExceptionBiFunction<T,U,R,E extends java.lang.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 java.lang.Exception>
A two-argument function which can throw an exception.- Author:
- David M. Lloyd
-
-
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)
R
apply(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
-
apply
R apply(T t, U u) throws E extends java.lang.Exception
Applies this function to the given arguments.
-
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)
-
-