Interface Functions.Arity10<I1,​I2,​I3,​I4,​I5,​I6,​I7,​I8,​I9,​I10,​O>

  • Type Parameters:
    I1 - the type of argument 1 to the function
    I2 - the type of argument 2 to the function
    I3 - the type of argument 3 to the function
    I4 - the type of argument 4 to the function
    I5 - the type of argument 5 to the function
    I6 - the type of argument 6 to the function
    I7 - the type of argument 7 to the function
    I8 - the type of argument 8 to the function
    I9 - the type of argument 9 to the function
    I10 - the type of argument 10 to the function
    O - the type of the output of the function
    Enclosing class:
    Functions
    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 static interface Functions.Arity10<I1,​I2,​I3,​I4,​I5,​I6,​I7,​I8,​I9,​I10,​O>
    A 10-arity specialization of Function.
    See Also:
    Function
    • Method Detail

      • apply

        O apply​(I1 in1,
                I2 in2,
                I3 in3,
                I4 in4,
                I5 in5,
                I6 in6,
                I7 in7,
                I8 in8,
                I9 in9,
                I10 in10)
        Applies this function to the given arguments.
        Parameters:
        in1 - function argument 1
        in2 - function argument 2
        in3 - function argument 3
        in4 - function argument 4
        in5 - function argument 5
        in6 - function argument 6
        in7 - function argument 7
        in8 - function argument 8
        in9 - function argument 9
        in10 - function argument 10
        Returns:
        the function output
      • andThen

        default <O2> Functions.Arity10<I1,​I2,​I3,​I4,​I5,​I6,​I7,​I8,​I9,​I10,​O2> andThen​(Function<? super O,​? extends O2> after)
        Returns a composed function that first applies this function to its input, and then applies the after function to the result. If evaluation of either function throws an exception, it is relayed to the caller of the composed function.
        Type Parameters:
        O2 - the type of output of the after function, and of the composed function
        Parameters:
        after - the function to apply after this function is applied
        Returns:
        a composed function that first applies this function and then applies the after function
        Throws:
        NullPointerException - if after is null