Package com.identityworksllc.iiq.common
Interface Functions.BiFunctionWithError<A,B,R>
-
- All Superinterfaces:
BiFunction<A,B,R>
- Enclosing class:
- Functions
public static interface Functions.BiFunctionWithError<A,B,R> extends BiFunction<A,B,R>
An extension of BiFunction that allows functional code to throw an exception.If used in a context not expecting this class, the error will be caught, logged, and re-thrown.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default <V> Functions.BiFunctionWithError<A,B,V>
andThen(Function<? super R,? extends V> after)
default R
apply(A a, B b)
R
applyWithError(A obj1, B obj2)
-