Interface Function8<T1,​T2,​T3,​T4,​T5,​T6,​T7,​T8,​R>

  • Type Parameters:
    T1 - the first value type
    T2 - the second value type
    T3 - the third value type
    T4 - the fourth value type
    T5 - the fifth value type
    T6 - the sixth value type
    T7 - the seventh value type
    T8 - the eighth value type
    R - the result type
    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 Function8<@NonNull T1,​@NonNull T2,​@NonNull T3,​@NonNull T4,​@NonNull T5,​@NonNull T6,​@NonNull T7,​@NonNull T8,​@NonNull R>
    A functional interface (callback) that computes a value based on multiple input values.
    • Method Detail

      • apply

        R apply​(@NonNull T1 t1,
                @NonNull T2 t2,
                @NonNull T3 t3,
                @NonNull T4 t4,
                @NonNull T5 t5,
                @NonNull T6 t6,
                @NonNull T7 t7,
                @NonNull T8 t8)
         throws java.lang.Throwable
        Calculate a value based on the input values.
        Parameters:
        t1 - the first value
        t2 - the second value
        t3 - the third value
        t4 - the fourth value
        t5 - the fifth value
        t6 - the sixth value
        t7 - the seventh value
        t8 - the eighth value
        Returns:
        the result value
        Throws:
        java.lang.Throwable - if the implementation wishes to throw any type of exception