@FunctionalInterface
public interface Consumer5<A,B,C,D,E>
BiConsumer, but with 5 arguments.toConsumer(Consumer5),
toBiConsumer(Consumer5)| Modifier and Type | Method and Description |
|---|---|
void |
accept(A a,
B b,
C c,
D d,
E e) |
default Consumer5<A,B,C,D,E> |
andThen(Consumer5<? super A,? super B,? super C,? super D,? super E> after) |
static <A,B,C,D,E> |
toBiConsumer(Consumer5<A,B,C,D,E> delegate)
Converts specified consumer into a
BiConsumer were all arguments except the first one are represented
as a single Tuple4 instance. |
static <A,B,C,D,E> |
toConsumer(Consumer5<A,B,C,D,E> delegate)
Converts specified consumer into a
Consumer were all arguments are represented
as a single Tuple5 instance. |
static <A,B,C,D,E> java.util.function.Consumer<Tuple5<A,B,C,D,E>> toConsumer(Consumer5<A,B,C,D,E> delegate)
Consumer were all arguments are represented
as a single Tuple5 instance.static <A,B,C,D,E> java.util.function.BiConsumer<A,Tuple4<B,C,D,E>> toBiConsumer(Consumer5<A,B,C,D,E> delegate)
BiConsumer were all arguments except the first one are represented
as a single Tuple4 instance.