Interface Function4<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 Function4<T1,​T2,​T3,​T4,​R>
    A function with 4 arguments.
    • Method Detail

      • apply

        default R apply​(Tuple4<? extends T1,​? extends T2,​? extends T3,​? extends T4> args)
        Apply this function to the arguments.
        Parameters:
        args - The arguments as a tuple.
      • apply

        R apply​(T1 v1,
                T2 v2,
                T3 v3,
                T4 v4)
        Apply this function to the arguments.
      • applyPartially

        default Function3<T2,​T3,​T4,​R> applyPartially​(T1 v1)
        Partially apply this function to the arguments.
      • applyPartially

        default Function2<T3,​T4,​R> applyPartially​(T1 v1,
                                                              T2 v2)
        Partially apply this function to the arguments.
      • applyPartially

        default Function1<T4,​R> applyPartially​(T1 v1,
                                                     T2 v2,
                                                     T3 v3)
        Partially apply this function to the arguments.
      • applyPartially

        default Function0<R> applyPartially​(T1 v1,
                                            T2 v2,
                                            T3 v3,
                                            T4 v4)
        Partially apply this function to the arguments.
      • applyPartially

        default Function3<T2,​T3,​T4,​R> applyPartially​(Tuple1<? extends T1> args)
        Partially apply this function to the arguments.
      • applyPartially

        default Function2<T3,​T4,​R> applyPartially​(Tuple2<? extends T1,​? extends T2> args)
        Partially apply this function to the arguments.
      • applyPartially

        default Function1<T4,​R> applyPartially​(Tuple3<? extends T1,​? extends T2,​? extends T3> args)
        Partially apply this function to the arguments.
      • applyPartially

        default Function0<R> applyPartially​(Tuple4<? extends T1,​? extends T2,​? extends T3,​? extends T4> args)
        Partially apply this function to the arguments.