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

Закриті
4 роки тому відкрито ranides · 1 коментарів
ranides відкоментовано 4 роки тому

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 відкоментовано 4 роки тому
Власник

sorry, target index is almost useless

sorry, target index is almost useless
Підпишіться щоб приєднатися до обговорення.
Етап відсутній
Немає відповідального
1 учасників
Завантажується...
Скасувати
Зберегти
Тут ще немає жодного вмісту.