| Package | Description |
|---|---|
| com.annimon.stream | |
| com.annimon.stream.function |
| Modifier and Type | Method and Description |
|---|---|
void |
Stream.forEachIndexed(IndexedConsumer<? super T> action)
Performs the given indexed action on each element.
|
void |
Stream.forEachIndexed(int from,
int step,
IndexedConsumer<? super T> action)
Performs the given indexed action on each element.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> IndexedConsumer<T> |
IndexedConsumer.Util.accept(IntConsumer c1,
Consumer<? super T> c2)
Returns an
IndexedConsumer that accepts IntConsumer
for index and Consumer for object. |
static <T> IndexedConsumer<T> |
IndexedConsumer.Util.wrap(Consumer<? super T> consumer)
Wraps a
Consumer and returns IndexedConsumer. |
Copyright © 2018. All rights reserved.