Package com.hazelcast.function
Interface BiFunctionEx<T,U,R>
- Type Parameters:
T
- the type of the first argument to the functionU
- the type of the second argument to the functionR
- the type of the result of the function
- All Superinterfaces:
BiFunction<T,U,R>
,Serializable
- 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 BiFunctionEx<T,U,R> extends BiFunction<T,U,R>, Serializable
Serializable
variant of java.util.function.BiFunction
which declares checked exception.- Since:
- 4.0
-
Method Summary
Modifier and Type Method Description default <V> BiFunctionEx<T,U,V>
andThen(FunctionEx<? super R,? extends V> after)
Serializable
variant ofjava.util.function.BiFunction#andThen(Function)
.default R
apply(T t, U u)
R
applyEx(T t, U u)
Exception-declaring version ofBiFunction.apply(T, U)
.
-
Method Details
-
applyEx
Exception-declaring version ofBiFunction.apply(T, U)
.- Throws:
Exception
- in case of any exceptional case
-
apply
- Specified by:
apply
in interfaceBiFunction<T,U,R>
-
andThen
Serializable
variant ofjava.util.function.BiFunction#andThen(Function)
.- Type Parameters:
V
- the type of output of theafter
function, and of the composed function
-