- All Known Subinterfaces:
CheckedBinaryOperator<T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A
BiFunction
that allows for checked exceptions.- Author:
- Lukas Eder
-
Method Summary
Modifier and TypeMethodDescriptionApplies this function to the given arguments.static <T,
U, R> BiFunction<T, U, R> sneaky
(CheckedBiFunction<T, U, R> function) static <T,
U, R> BiFunction<T, U, R> unchecked
(CheckedBiFunction<T, U, R> function) static <T,
U, R> BiFunction<T, U, R> unchecked
(CheckedBiFunction<T, U, R> function, Consumer<Throwable> handler)
-
Method Details
-
apply
Applies this function to the given arguments.- Parameters:
t
- the first function argumentu
- the second function argument- Returns:
- the function result
- Throws:
Throwable
-
sneaky
-
unchecked
-
unchecked
static <T,U, BiFunction<T,R> U, uncheckedR> (CheckedBiFunction<T, U, R> function, Consumer<Throwable> handler)
-