Interface TBiFunction<T,U,R>
- Type Parameters:
T- The first argument typeU- The second argument typeR- The return type
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
This is a functional interface that can be used to replace BiFunction and throw exceptions.
-
Method Summary
-
Method Details
-
apply
Applies this function to the given arguments and throws an exception.- Parameters:
t- The first argumentu- The second argument- Returns:
- The return value
- Throws:
Throwable- The exception
-
andThen
- Type Parameters:
V- The return type of theafterfunction, and of the composed function- Parameters:
after- The operation to perform after this operation- Returns:
- A composed
TBiFunctionthat performs in sequence this operation followed by theafter - Throws:
Throwable- The exception
-