@FunctionalInterface public interface TriConsumer<T,U,V>
BiConsumer but with 3 params.BiConsumer| Modifier and Type | Method and Description |
|---|---|
void |
accept(T t,
U u,
V v)
Performs this operation on the given arguments.
|
default TriConsumer<T,U,V> |
andThen(TriConsumer<T,U,V> after)
Returns a composed
TriConsumer that performs an additional operation. |
void accept(T t, U u, V v)
t - the first input argumentu - the second input argumentv - the third input argumentdefault TriConsumer<T,U,V> andThen(TriConsumer<T,U,V> after)
TriConsumer that performs an additional operation.after - the operation to perform after this operationTriConsumer that performs in sequence this
operation followed by the after operationNullPointerException - if after is nullCopyright © 2023. All rights reserved.