T - The first argument type.U - The second argument type.V - The third argument type.@FunctionalInterface
public interface TriConsumer<T,U,V>
BiConsumer, but accepts three arguments.| Modifier and Type | Method and Description |
|---|---|
void |
accept(T t,
U u,
V v)
Performs the operation on the given inputs.
|
default TriConsumer<T,U,V> |
andThen(TriConsumer<? super T,? super U,? super V> after)
Returns a composed
TriConsumer that performs, in sequence, this
operation followed by the after operation. |
void accept(T t, U u, V v)
t - is the first argumentu - is the second argumentv - is the third argumentdefault TriConsumer<T,U,V> andThen(TriConsumer<? super T,? super U,? super V> after)
TriConsumer that performs, in sequence, this
operation followed by the after operation.after - the operation to perform after this operationTriConsumerjava.lang.NullPointerException - if after is null