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:
java.util.function.BiFunction<T,U,R>
,com.hazelcast.security.impl.function.SecuredFunction
,java.io.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 java.util.function.BiFunction<T,U,R>, java.io.Serializable, com.hazelcast.security.impl.function.SecuredFunction
Serializable
variant ofjava.util.function.BiFunction
which declares checked exception.- Since:
- 4.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods 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 Detail
-
applyEx
R applyEx(T t, U u) throws java.lang.Exception
Exception-declaring version ofBiFunction.apply(T, U)
.- Throws:
java.lang.Exception
- in case of any exceptional case
-
andThen
default <V> BiFunctionEx<T,U,V> andThen(FunctionEx<? super R,? extends V> after)
Serializable
variant ofjava.util.function.BiFunction#andThen(Function)
.- Type Parameters:
V
- the type of output of theafter
function, and of the composed function
-
-