ExtendedIterable<E> extension

from https://stackoverflow.com/a/59447850/85472

on

Methods

forEachIndex(void f(E, int)) → void
mapIndex<T>(T f(E, int)) Iterable<T>
Like Iterable.map but callback have index as second argument