static <T,C extends java.util.Collection<? extends T>> void |
N.forEach(C c,
IndexedConsumer<? super T> action) |
static <T,C extends java.util.Collection<? extends T>> void |
N.forEach(C c,
int fromIndex,
int toIndex,
IndexedConsumer<? super T> action)
Mostly it's designed for one-step operation to complete the operation in one step.
|
void |
Seq.forEach(IndexedConsumer<? super T> action) |
static <T> void |
N.forEach(T[] a,
IndexedConsumer<T> action) |
static <T> void |
N.forEach(T[] a,
int fromIndex,
int toIndex,
IndexedConsumer<? super T> action) |
static <T> Consumer<T> |
Fn.Consumers.indexed(IndexedConsumer<T> action) |
static <T> Consumer<T> |
Fn.indeXed(IndexedConsumer<T> action)
Returns a stateful Consumer which should not be used in parallel stream.
|