@FunctionalInterface public interface QuadConsumer<T,U,V,W>
| Modifier and Type | Method and Description |
|---|---|
void |
accept(T t,
U u,
V v,
W w)
Performs this operation on the given arguments.
|
default QuadConsumer<T,U,V,W> |
andThen(QuadConsumer<? super T,? super U,? super V,? super W> after)
Returns a composed
QuadConsumer that performs, in
sequence, this
operation followed by the after operation.
|
void accept(T t, U u, V v, W w)
t - the first input argumentu - the second input argumentv - the third input argumentw - the fourth input argumentdefault QuadConsumer<T,U,V,W> andThen(QuadConsumer<? super T,? super U,? super V,? super W> after)
QuadConsumer that performs, in
sequence, this
operation followed by the after operation. If performing either
operation throws an exception, it is relayed to the caller of the
composed operation. If performing this operation throws an exception,
the after operation will not be performed.
after - the operation to perform after this operationQuadConsumer that performs in sequence this
operation followed by the after operation
NullPointerException - if
after is null
Copyright © 2020. All rights reserved.