Interface ThrowingConsumer8<A,B,C,D,E,F,G,H,T extends Throwable>

Type Parameters:
A - The 1st input argument type to be consumed
B - The 2nd input argument type to be consumed
C - The 3rd input argument type to be consumed
D - The 4th input argument type to be consumed
E - The 5th input argument type to be consumed
F - The 6th input argument type to be consumed
G - The 7th input argument type to be consumed
H - The 8th input argument type to be consumed
T - The type of Throwable thrown by the consumer
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 ThrowingConsumer8<A,B,C,D,E,F,G,H,T extends Throwable>
A consumer that takes eight arguments, returns a result, and may throw a Throwable.
Version:
Alpha v.0.3
Author:
Logan Ferree (Tadukoo)
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(A a, B b, C c, D d, E e, F f, G g, H h)
    Takes eight arguments and consumes them.
    default ThrowingConsumer8<A,B,C,D,E,F,G,H,T>
    andThen(ThrowingConsumer8<? super A,? super B,? super C,? super D,? super E,? super F,? super G,? super H,? extends T> after)
    Creates a ThrowingConsumer8 that runs this ThrowingConsumer8 and then also runs the given ThrowingConsumer8 on the same arguments.
  • Method Details

    • accept

      void accept(A a, B b, C c, D d, E e, F f, G g, H h) throws T
      Takes eight arguments and consumes them.
      Parameters:
      a - The 1st argument
      b - The 2nd argument
      c - The 3rd argument
      d - The 4th argument
      e - The 5th argument
      f - The 6th argument
      g - The 7th argument
      h - The 8th argument
      Throws:
      T - Determined by the consumer, not required
    • andThen

      default ThrowingConsumer8<A,B,C,D,E,F,G,H,T> andThen(ThrowingConsumer8<? super A,? super B,? super C,? super D,? super E,? super F,? super G,? super H,? extends T> after)
      Creates a ThrowingConsumer8 that runs this ThrowingConsumer8 and then also runs the given ThrowingConsumer8 on the same arguments.
      Parameters:
      after - A 2nd ThrowingConsumer8 to run the arguments on after this one
      Returns:
      The ThrowingConsumer8 made from composing this one and the given one