S
- type of the first argumentT
- type of the first argumentU
- type of the second argumentE
- type of the thrown exception@FunctionalInterface public interface TriConsumerWithException<S,T,U,E extends Throwable>
TriConsumer
interface.Modifier and Type | Method and Description |
---|---|
void |
accept(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 a
TriConsumerWithException into a TriConsumer . |
void accept(S s, T t, U u) throws E extends Throwable
static <A,B,C> TriConsumer<A,B,C> unchecked(TriConsumerWithException<A,B,C,?> triConsumerWithException)
TriConsumerWithException
into a TriConsumer
.A
- first input typeB
- second input typeC
- third input typetriConsumerWithException
- TriConsumer with exception to convert into a TriConsumer
.TriConsumer
which rethrows all checked exceptions as unchecked.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.