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

Fermé
Créé il y a 4 ans par ranides · 1 commentaires
ranides a commenté il y a 4 ans

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 a commenté il y a 4 ans
Propriétaire

sorry, target index is almost useless

sorry, target index is almost useless
Connectez-vous pour rejoindre cette conversation.
Aucun jalon
Pas d'assignataire
1 Participants
Chargement…
Annuler
Enregistrer
Il n'existe pas encore de contenu.