Skip to content

Map with index. #3602

@Dorus

Description

@Dorus

Please add

map(Func2<? super T, int index, ? extends R> func)

Where the second parameter of Func2 is the index of the element.

A similar overload could be useful on operators like scan, reduce, filter etc.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions