Interface ThrowingFunction3<A,B,C,R,T extends Throwable>
- Type Parameters:
A
- The 1st input argument type for the functionB
- The 2nd input argument type for the functionC
- The 3rd input argument type for the functionR
- The output result type for the functionT
- The type ofThrowable
thrown by the function
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A function that takes three arguments, returns a result,
and may throw a
Throwable
.- Version:
- 0.1-Alpha-SNAPSHOT
- Author:
- Logan Ferree (Tadukoo)
-
Method Summary
Modifier and TypeMethodDescriptiondefault <S> ThrowingFunction3<A,
B, C, S, T> andThen
(ThrowingFunction<? super R, ? extends S, ? extends T> after) Creates a ThrowingFunction3 that runs this ThrowingFunction3 and puts the result into the givenThrowingFunction
.Takes three arguments and returns a result.
-
Method Details
-
apply
Takes three arguments and returns a result.- Parameters:
a
- The 1st argumentb
- The 2nd argumentc
- The 3rd argument- Returns:
- A result
- Throws:
T
- Determined by the function, not required
-
andThen
default <S> ThrowingFunction3<A,B, andThenC, S, T> (ThrowingFunction<? super R, ? extends S, ? extends T> after) Creates a ThrowingFunction3 that runs this ThrowingFunction3 and puts the result into the givenThrowingFunction
.- Type Parameters:
S
- The output type of theThrowingFunction
- Parameters:
after
- AThrowingFunction
to put the result of this ThrowingFunction3 into- Returns:
- The ThrowingFunction3 made from composing this one and the given
ThrowingFunction
-