Interface Consumers.Arity6<I1,​I2,​I3,​I4,​I5,​I6>

    • Method Detail

      • accept

        void accept​(I1 in1,
                    I2 in2,
                    I3 in3,
                    I4 in4,
                    I5 in5,
                    I6 in6)
        Performs this operation on the given arguments.
        Parameters:
        in1 - input argument 1.
        in2 - input argument 2.
        in3 - input argument 3.
        in4 - input argument 4.
        in5 - input argument 5.
        in6 - input argument 6.
      • andThen

        default Consumers.Arity6<I1,​I2,​I3,​I4,​I5,​I6> andThen​(Consumers.Arity6<? super I1,​? super I2,​? super I3,​? super I4,​? super I5,​? super I6> after)
        Returns a composed Consumer.Arity6 that performs, in sequence, this operation followed by the after operation. If performing either operation throws an exception, it is relayed to the caller of the composed operation. If performing this operation throws an exception, the after operation will not be performed.
        Parameters:
        after - the operation to perform after this operation
        Returns:
        a composed Consumer.Arity6 that performs in sequence this operation followed by the after operation
        Throws:
        NullPointerException - if after is null