@FunctionalInterface
public interface TriConsumer<T,U,V>
Consumer like interface accepting 3 arguments.Consumer| Modifier and Type | Method and Description |
|---|---|
void |
accept(T t,
U u,
V v)
Performs a given operation on the 3 arguments.
|
default TriConsumer<T,U,V> |
andThen(TriConsumer<T,U,V> after)
|
void accept(T t, U u, V v)
t - first argument.u - second argument.v - third argument.default TriConsumer<T,U,V> andThen(TriConsumer<T,U,V> after)
after - TriConsumer to composed with this TriConsumer; must not be null.TriConsumer with the given TriConsumer composed after this TriConsumer.java.lang.NullPointerException - if TriConsumer is null.