| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | each(Procedure<? super Pair<T, Integer>> procedure)
Implements org. The procedure is executed for each element in the iterable. |
| public Iterator |
| iterable | back to summary |
|---|---|
| private final Iterable<T> iterable | |
| ZipWithIndexIterable | back to summary |
|---|---|
| public ZipWithIndexIterable(Iterable<T> iterable) | |
| each | back to summary |
|---|---|
| public void each(Procedure<? super Pair<T, Integer>> procedure) Implements org. Doc from org. The procedure is executed for each element in the iterable. Example using a Java 8 lambda expression: people.each(person -> LOGGER.info(person.getName()));This method is a variant of InternalIterable#forEach(Procedure)
that has a signature conflict with Iterable#forEach(java..
| |
| iterator | back to summary |
|---|---|
| public Iterator Implements java. Doc from java. Returns an iterator over elements of type
| |