Package org.n52.janmayen.function
Interface TriConsumer<A,B,C>
-
- Type Parameters:
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
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface TriConsumer<A,B,C>
TODO JavaDoc
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidaccept(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 composedTriConsumerthat performs, in sequence, this operation followed by theafteroperation.default BiConsumer<B,C>curryFirst(A a)default BiConsumer<A,C>currySecond(B b)default BiConsumer<A,B>curryThird(C c)
-
-
-
Method Detail
-
accept
void accept(A a, B b, C c)
Performs this operation on the given arguments.- Parameters:
a- the first input argumentb- the second input argumentc- the third input argument
-
andThen
default TriConsumer<A,B,C> andThen(TriConsumer<? super A,? super B,? super C> after)
Returns a composedTriConsumerthat performs, in sequence, this operation followed by theafteroperation. If performing either operation throws an exception, it is relayed to the caller of the composed operation. If performing this operation throws an exception, theafteroperation will not be performed.- Parameters:
after- the operation to perform after this operation- Returns:
- a composed
TriConsumerthat performs in sequence this operation followed by theafteroperation - Throws:
NullPointerException- ifafteris null
-
curryFirst
default BiConsumer<B,C> curryFirst(A a)
-
currySecond
default BiConsumer<A,C> currySecond(B b)
-
curryThird
default BiConsumer<A,B> curryThird(C c)
-
-