Interface ThrowingFunction6<A,B,C,D,E,F,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 functionD
- The 4th input argument type for the functionE
- The 5th input argument type for the functionF
- The 6th 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 six arguments, returns a result,
and may throw a
Throwable
.- Version:
- Alpha v.0.3
- Author:
- Logan Ferree (Tadukoo)
-
Method Summary
Modifier and TypeMethodDescriptionandThen
(ThrowingFunction<? super R, ? extends S, ? extends T> after) Creates a ThrowingFunction6 that runs this ThrowingFunction6 and puts the result into the givenThrowingFunction
.Takes six arguments and returns a result.
-
Method Details
-
apply
Takes six arguments and returns a result.- Parameters:
a
- The 1st argumentb
- The 2nd argumentc
- The 3rd argumentd
- The 4th argumente
- The 5th argumentf
- The 6th argument- Returns:
- A result
- Throws:
T
- Determined by the function, not required
-
andThen
default <S> ThrowingFunction6<A,B, andThenC, D, E, F, S, T> (ThrowingFunction<? super R, ? extends S, ? extends T> after) Creates a ThrowingFunction6 that runs this ThrowingFunction6 and puts the result into the givenThrowingFunction
.- Type Parameters:
S
- The output type of theThrowingFunction
- Parameters:
after
- AThrowingFunction
to put the result of this ThrowingFunction6 into- Returns:
- The ThrowingFunction6 made from composing this one and the given
ThrowingFunction
-