Interface Consumer6<T1,​T2,​T3,​T4,​T5,​T6>

  • 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 Consumer6<T1,​T2,​T3,​T4,​T5,​T6>
    A consumer with 6 arguments.
    • Method Detail

      • accept

        default void accept​(Tuple6<? extends T1,​? extends T2,​? extends T3,​? extends T4,​? extends T5,​? extends T6> args)
        Performs this operation on the given argument.
        Parameters:
        args - The arguments as a tuple.
      • accept

        void accept​(T1 v1,
                    T2 v2,
                    T3 v3,
                    T4 v4,
                    T5 v5,
                    T6 v6)
        Performs this operation on the given argument.
      • acceptPartially

        default Consumer5<T2,​T3,​T4,​T5,​T6> acceptPartially​(T1 v1)
        Let this consumer partially accept the arguments.
      • acceptPartially

        default Consumer4<T3,​T4,​T5,​T6> acceptPartially​(T1 v1,
                                                                         T2 v2)
        Let this consumer partially accept the arguments.
      • acceptPartially

        default Consumer3<T4,​T5,​T6> acceptPartially​(T1 v1,
                                                                T2 v2,
                                                                T3 v3)
        Let this consumer partially accept the arguments.
      • acceptPartially

        default Consumer2<T5,​T6> acceptPartially​(T1 v1,
                                                       T2 v2,
                                                       T3 v3,
                                                       T4 v4)
        Let this consumer partially accept the arguments.
      • acceptPartially

        default Consumer1<T6> acceptPartially​(T1 v1,
                                              T2 v2,
                                              T3 v3,
                                              T4 v4,
                                              T5 v5)
        Let this consumer partially accept the arguments.
      • acceptPartially

        default Consumer0 acceptPartially​(T1 v1,
                                          T2 v2,
                                          T3 v3,
                                          T4 v4,
                                          T5 v5,
                                          T6 v6)
        Let this consumer partially accept the arguments.
      • acceptPartially

        default Consumer5<T2,​T3,​T4,​T5,​T6> acceptPartially​(Tuple1<? extends T1> args)
        Let this consumer partially accept the arguments.
      • acceptPartially

        default Consumer4<T3,​T4,​T5,​T6> acceptPartially​(Tuple2<? extends T1,​? extends T2> args)
        Let this consumer partially accept the arguments.
      • acceptPartially

        default Consumer3<T4,​T5,​T6> acceptPartially​(Tuple3<? extends T1,​? extends T2,​? extends T3> args)
        Let this consumer partially accept the arguments.
      • acceptPartially

        default Consumer2<T5,​T6> acceptPartially​(Tuple4<? extends T1,​? extends T2,​? extends T3,​? extends T4> args)
        Let this consumer partially accept the arguments.
      • acceptPartially

        default Consumer1<T6> acceptPartially​(Tuple5<? extends T1,​? extends T2,​? extends T3,​? extends T4,​? extends T5> args)
        Let this consumer partially accept the arguments.
      • acceptPartially

        default Consumer0 acceptPartially​(Tuple6<? extends T1,​? extends T2,​? extends T3,​? extends T4,​? extends T5,​? extends T6> args)
        Let this consumer partially accept the arguments.