E1 - the first function argument typeE2 - the second function argument typeE3 - the third function argument typeE4 - the fourth function argument typeE5 - the fifth function argument type@FunctionalInterface
public interface FiveArgusConsumer<E1,E2,E3,E4,E5>
| Modifier and Type | Method and Description |
|---|---|
void |
accept(E1 e1,
E2 e2,
E3 e3,
E4 e4,
E5 e5)
Performs this operation on the given arguments.
|
default FiveArgusConsumer<E1,E2,E3,E4,E5> |
andThen(FiveArgusConsumer<? super E1,? super E2,? super E3,? super E4,? super E5> after)
Returns a composed
BiConsumer that performs, in sequence, this
operation followed by the after operation. |
void accept(E1 e1, E2 e2, E3 e3, E4 e4, E5 e5)
e1 - the first function argumente2 - the second function argumente3 - the third function argumente4 - the fourth function argumente5 - the fifth function argumentdefault FiveArgusConsumer<E1,E2,E3,E4,E5> andThen(FiveArgusConsumer<? super E1,? super E2,? super E3,? super E4,? super E5> after)
BiConsumer 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 operationBiConsumer that performs in sequence this
operation followed by the after operationjava.lang.NullPointerException - if after is null