@FunctionalInterface public interface PentaConsumer<T,U,V,W,X>
| Modifier and Type | Method and Description |
|---|---|
void |
accept(T t,
U u,
V v,
W w,
X x)
Performs this operation on the given arguments.
|
default PentaConsumer<T,U,V,W,X> |
andThen(PentaConsumer<? super T,? super U,? super V,? super W,? super X> after)
Returns a composed
PentaConsumer that performs, in
sequence, this
operation followed by the after operation.
|
void accept(T t, U u, V v, W w, X x)
t - the first input argumentu - the second input argumentv - the third input argumentw - the fourth input argumentx - the fifth input argumentdefault PentaConsumer<T,U,V,W,X> andThen(PentaConsumer<? super T,? super U,? super V,? super W,? super X> after)
PentaConsumer 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 operationPentaConsumer that performs in sequence this
operation followed by the after operation
NullPointerException - if
after is null
Copyright © 2020. All rights reserved.