Interface ExBiFunction<T, U, R, E extends Exception>
- Type Parameters:
T- the type of the first argument to the operationU- the type of the second argument to the functionR- the type of the result of the functionE- the type of exception thrown
- All Superinterfaces:
Wrappable<BiFunction<T,U, R>>
- 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 ExBiFunction<T, U, R, E extends Exception>
extends Wrappable<BiFunction<T,U,R>>
Equivalent of a
BiFunction that can throw exceptions.-
Method Summary
-
Method Details
-
apply
-
wrap
Description copied from interface:WrappableWraps this functional interface, allowing it to be used in contexts where exceptions are not allowed to be thrown directly.If a checked exception is thrown, an
ExException, which is a runtime exception, will be thrown instead. This will have the original exception as itscause.
-