Interface Function3<T1,​T2,​T3,​R>

  • Type Parameters:
    T1 - The type of the first argument.
    T2 - The type of the second argument.
    T3 - The type of the third argument.
    R - The result of 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 Function3<T1,​T2,​T3,​R>
    A functional interface that accepts 3 arguments and generates a return value.
    • Method Detail

      • apply

        @Nullable
        R apply​(@Nullable
                T1 t1,
                @Nullable
                T2 t2,
                @Nullable
                T3 t3)
        Applies the function to the given arguments.
        Parameters:
        t1 - the first value.
        t2 - the second value.
        t3 - the third value.
        Returns:
        the result value.