Interface Function5<T0,​T1,​T2,​T3,​T4,​R>

  • Type Parameters:
    T0 - the type of the #0 argument.
    T1 - the type of the #1 argument.
    T2 - the type of the #2 argument.
    T3 - the type of the #3 argument.
    T4 - the type of the #4 argument.
    R - the type of the result.
    All Superinterfaces:
    ThrowingFunction5<T0,​T1,​T2,​T3,​T4,​R>
    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 Function5<T0,​T1,​T2,​T3,​T4,​R>
    extends ThrowingFunction5<T0,​T1,​T2,​T3,​T4,​R>
    A quinary function.
    • Method Detail

      • apply

        R apply​(T0 a0,
                T1 a1,
                T2 a2,
                T3 a3,
                T4 a4)
        Applies the function to the given arguments.
        Specified by:
        apply in interface ThrowingFunction5<T0,​T1,​T2,​T3,​T4,​R>
        Parameters:
        a0 - the #0 argument.
        a1 - the #1 argument.
        a2 - the #2 argument.
        a3 - the #3 argument.
        a4 - the #4 argument.
        Returns:
        the result of the function.