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 operationX - the type of the thrown exception@FunctionalInterface public interface ThrowingTriConsumer<A,B,C,X extends Exception>
| Modifier and Type | Method and Description |
|---|---|
void |
accept(A a,
B b,
C c) |
default ThrowingTriConsumer<A,B,C,X> |
andThen(ThrowingTriConsumer<? super A,? super B,? super C,? extends X> after)
Returns a composed
ThrowingTriConsumer that performs, in sequence, this
operation followed by the after operation. |
default ThrowingBiConsumer<B,C,X> |
curryFirst(A a) |
default ThrowingBiConsumer<A,C,X> |
currySecond(B b) |
default ThrowingBiConsumer<A,B,X> |
curryThird(C c) |
default <T> ThrowingTriConsumer<T,B,C,X> |
mapFirst(ThrowingFunction<? super T,? extends A,X> fun) |
default <T> ThrowingTriConsumer<A,T,C,X> |
mapSecond(ThrowingFunction<? super T,? extends B,X> fun) |
default <T> ThrowingTriConsumer<A,B,T,X> |
mapThird(ThrowingFunction<? super T,? extends C,X> fun) |
default ThrowingTriConsumer<A,B,C,X> andThen(ThrowingTriConsumer<? super A,? super B,? super C,? extends X> after)
ThrowingTriConsumer 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 operationThrowingTriConsumer that performs in sequence this
operation followed by the after operationNullPointerException - if after is nulldefault ThrowingBiConsumer<B,C,X> curryFirst(A a)
default ThrowingBiConsumer<A,C,X> currySecond(B b)
default ThrowingBiConsumer<A,B,X> curryThird(C c)
default <T> ThrowingTriConsumer<T,B,C,X> mapFirst(ThrowingFunction<? super T,? extends A,X> fun)
default <T> ThrowingTriConsumer<A,T,C,X> mapSecond(ThrowingFunction<? super T,? extends B,X> fun)
default <T> ThrowingTriConsumer<A,B,T,X> mapThird(ThrowingFunction<? super T,? extends C,X> fun)
Copyright © 2015–2021 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.