Package com.google.mu.function
Interface CheckedBiFunction<A,B,T,E extends Throwable>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A binary function that can throw checked exceptions.
-
Method Summary
-
Method Details
-
apply
- Throws:
E
-
andThen
default <R> CheckedBiFunction<A,B, andThenR, E> (CheckedFunction<? super T, ? extends R, ? extends E> mapper) Returns a newCheckedBiFunction
that maps the return value usingmapper
. For example:((a, b) -> a + b).andThen(Object::toString).apply(1, 2) => "3"
.
-