Package org.apache.flink.util.function
Interface TriFunctionWithException<S,T,U,R,E extends Throwable>
-
- Type Parameters:
S- type of the first argumentT- type of the second argumentU- type of the third argumentR- type of the return valueE- type of the thrown exception
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@PublicEvolving @FunctionalInterface public interface TriFunctionWithException<S,T,U,R,E extends Throwable>
Function which takes three arguments.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description Rapply(S s, T t, U u)Applies this function to the given arguments.static <A,B,C,D>
TriFunction<A,B,C,D>unchecked(TriFunctionWithException<A,B,C,D,?> triFunctionWithException)Convert atTriFunctionWithExceptioninto aTriFunction.
-
-
-
Method Detail
-
apply
R apply(S s, T t, U u) throws E extends Throwable
Applies this function to the given arguments.
-
unchecked
static <A,B,C,D> TriFunction<A,B,C,D> unchecked(TriFunctionWithException<A,B,C,D,?> triFunctionWithException)
Convert atTriFunctionWithExceptioninto aTriFunction.- Type Parameters:
A- first input typeB- second input typeC- third input typeD- output type- Parameters:
triFunctionWithException- function with exception to convert into a function- Returns:
BiFunctionwhich throws all checked exception as an unchecked exception.
-
-