Interface Function5<T1,T2,T3,T4,T5,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<T1,T2,T3,T4,T5,R>
    A function with 5 arguments
    • Method Summary

      Modifier and Type Method and Description
      R apply(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5)
      Apply this function to the arguments.
      default R apply(Tuple5<? extends T1,? extends T2,? extends T3,? extends T4,? extends T5> args)
      Apply this function to the arguments.
      default Function4<T2,T3,T4,T5,R> curry(T1 v1)
      Partially apply this function to the arguments.
      default Function3<T3,T4,T5,R> curry(T1 v1, T2 v2)
      Partially apply this function to the arguments.
      default Function2<T4,T5,R> curry(T1 v1, T2 v2, T3 v3)
      Partially apply this function to the arguments.
      default Function1<T5,R> curry(T1 v1, T2 v2, T3 v3, T4 v4)
      Partially apply this function to the arguments.
      default Function0<R> curry(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5)
      Partially apply this function to the arguments.
      default Function4<T2,T3,T4,T5,R> curry(Tuple1<? extends T1> args)
      Partially apply this function to the arguments.
      default Function3<T3,T4,T5,R> curry(Tuple2<? extends T1,? extends T2> args)
      Partially apply this function to the arguments.
      default Function2<T4,T5,R> curry(Tuple3<? extends T1,? extends T2,? extends T3> args)
      Partially apply this function to the arguments.
      default Function1<T5,R> curry(Tuple4<? extends T1,? extends T2,? extends T3,? extends T4> args)
      Partially apply this function to the arguments.
      default Function0<R> curry(Tuple5<? extends T1,? extends T2,? extends T3,? extends T4,? extends T5> args)
      Partially apply this function to the arguments.
    • Method Detail

      • apply

        default R apply(Tuple5<? extends T1,? extends T2,? extends T3,? extends T4,? extends T5> 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,
                T5 v5)
        Apply this function to the arguments.
      • curry

        default Function4<T2,T3,T4,T5,R> curry(T1 v1)
        Partially apply this function to the arguments.
      • curry

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

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

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

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

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

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

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

        default Function0<R> curry(Tuple5<? extends T1,? extends T2,? extends T3,? extends T4,? extends T5> args)
        Partially apply this function to the arguments.