Package org.apache.flink.util.function
Interface TriConsumerWithException<S,T,U,E extends Throwable>
-
- Type Parameters:
S- type of the first argumentT- type of the first argumentU- type of the second argumentE- 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.
@FunctionalInterface public interface TriConsumerWithException<S,T,U,E extends Throwable>
A checked extension of theTriConsumerinterface.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaccept(S s, T t, U u)Performs this operation on the given arguments.static <A,B,C>
TriConsumer<A,B,C>unchecked(TriConsumerWithException<A,B,C,?> triConsumerWithException)Convert aTriConsumerWithExceptioninto aTriConsumer.
-
-
-
Method Detail
-
accept
void accept(S s, T t, U u) throws E extends Throwable
Performs this operation on the given arguments.
-
unchecked
static <A,B,C> TriConsumer<A,B,C> unchecked(TriConsumerWithException<A,B,C,?> triConsumerWithException)
Convert aTriConsumerWithExceptioninto aTriConsumer.- Type Parameters:
A- first input typeB- second input typeC- third input type- Parameters:
triConsumerWithException- TriConsumer with exception to convert into aTriConsumer.- Returns:
TriConsumerwhich rethrows all checked exceptions as unchecked.
-
-