A - the type of the first argument to the operationB - the type of the second argument to the operationC - the type of the third argument to the operation@FunctionalInterface public interface TriConsumer<A,B,C>
| Modifier and Type | Method and Description |
|---|---|
void |
accept(A a,
B b,
C c)
Performs this operation on the given arguments.
|
default TriConsumer<A,B,C> |
andThen(TriConsumer<? super A,? super B,? super C> after)
Returns a composed
TriConsumer that performs, in sequence, this operation followed by the after
operation. |
default BiConsumer<B,C> |
curryFirst(A a) |
default BiConsumer<A,C> |
currySecond(B b) |
default BiConsumer<A,B> |
curryThird(C c) |
void accept(A a, B b, C c)
a - the first input argumentb - the second input argumentc - the third input argumentdefault TriConsumer<A,B,C> andThen(TriConsumer<? super A,? super B,? super C> after)
TriConsumer 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 operationTriConsumer that performs in sequence this operation followed by the after
operationNullPointerException - if after is nulldefault BiConsumer<B,C> curryFirst(A a)
default BiConsumer<A,C> currySecond(B b)
default BiConsumer<A,B> curryThird(C c)
Copyright © 2015–2020 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.