#61 IteratorUtils: filterEach can use original index or target index

Closed
opened 4 years ago by ranides · 1 comments
ranides commented 4 years ago

It is open discussion, if function passed to filterEach should receive original index (before filtering) or target index (used in target collection).

filterEach should give possibility to choose between both options and, in best case, give possibility to use both in the same function.

It requires new interface: FilterEachPredicate or something like that.

It is open discussion, if function passed to `filterEach` should receive original index (before filtering) or target index (used in target collection). `filterEach` should give possibility to choose between both options and, in best case, give possibility to use both in the same function. It requires new interface: `FilterEachPredicate` or something like that.
ranides commented 4 years ago
Owner

sorry, target index is almost useless

sorry, target index is almost useless
Sign in to join this conversation.
No Milestone
No assignee
1 Participants
Loading...
Cancel
Save
There is no content yet.