IterableMapIndexed<E> extension

on

Methods

mapIndexed<R>(R transform(int index, E)) Iterable<R>
Returns a new lazy Iterable containing the results of applying the given transform function to each element and its index in the original collection.