Package org.n52.janmayen.function
Interface ThrowingTriConsumer<A,B,C,X extends Exception>
-
- 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 operationX- the type of the thrown exception
- 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 ThrowingTriConsumer<A,B,C,X extends Exception>
TODO JavaDoc
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidaccept(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 composedThrowingTriConsumerthat performs, in sequence, this operation followed by theafteroperation.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)
-
-
-
Method Detail
-
andThen
default ThrowingTriConsumer<A,B,C,X> andThen(ThrowingTriConsumer<? super A,? super B,? super C,? extends X> after)
Returns a composedThrowingTriConsumerthat 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
ThrowingTriConsumerthat performs in sequence this operation followed by theafteroperation - Throws:
NullPointerException- ifafteris null
-
curryFirst
default ThrowingBiConsumer<B,C,X> curryFirst(A a)
-
currySecond
default ThrowingBiConsumer<A,C,X> currySecond(B b)
-
curryThird
default ThrowingBiConsumer<A,B,X> curryThird(C c)
-
mapFirst
default <T> ThrowingTriConsumer<T,B,C,X> mapFirst(ThrowingFunction<? super T,? extends A,X> fun)
-
mapSecond
default <T> ThrowingTriConsumer<A,T,C,X> mapSecond(ThrowingFunction<? super T,? extends B,X> fun)
-
mapThird
default <T> ThrowingTriConsumer<A,B,T,X> mapThird(ThrowingFunction<? super T,? extends C,X> fun)
-
-