Interface ThrowingFunction10<A,B,C,D,E,F,G,H,I,J,R,T extends Throwable>

Type Parameters:
A - The 1st input argument type for the function
B - The 2nd input argument type for the function
C - The 3rd input argument type for the function
D - The 4th input argument type for the function
E - The 5th input argument type for the function
F - The 6th input argument type for the function
G - The 7th input argument type for the function
H - The 8th input argument type for the function
I - The 9th input argument type for the function
J - The 10th input argument type for the function
R - The output result type for the function
T - The type of Throwable 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.

@FunctionalInterface public interface ThrowingFunction10<A,B,C,D,E,F,G,H,I,J,R,T extends Throwable>
A function that takes ten arguments, returns a result, and may throw a Throwable.
Version:
Alpha v.0.3
Author:
Logan Ferree (Tadukoo)
  • Method Summary

    Modifier and Type
    Method
    Description
    default <S> ThrowingFunction10<A,B,C,D,E,F,G,H,I,J,S,T>
    andThen(ThrowingFunction<? super R,? extends S,? extends T> after)
    Creates a ThrowingFunction10 that runs this ThrowingFunction10 and puts the result into the given ThrowingFunction.
    apply(A a, B b, C c, D d, E e, F f, G g, H h, I i, J j)
    Takes ten arguments and returns a result.
  • Method Details

    • apply

      R apply(A a, B b, C c, D d, E e, F f, G g, H h, I i, J j) throws T
      Takes ten arguments and returns a result.
      Parameters:
      a - The 1st argument
      b - The 2nd argument
      c - The 3rd argument
      d - The 4th argument
      e - The 5th argument
      f - The 6th argument
      g - The 7th argument
      h - The 8th argument
      i - The 9th argument
      j - The 10th argument
      Returns:
      A result
      Throws:
      T - Determined by the function, not required
    • andThen

      default <S> ThrowingFunction10<A,B,C,D,E,F,G,H,I,J,S,T> andThen(ThrowingFunction<? super R,? extends S,? extends T> after)
      Creates a ThrowingFunction10 that runs this ThrowingFunction10 and puts the result into the given ThrowingFunction.
      Type Parameters:
      S - The output type of the ThrowingFunction
      Parameters:
      after - A ThrowingFunction to put the result of this ThrowingFunction10 into
      Returns:
      The ThrowingFunction10 made from composing this one and the given ThrowingFunction