#70 CQuery: indexOf

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

It is something like query.filter.first, but we want to return index of selected element, not value of element.

int indexOf(T value) 
int indexOf(Predicate<T> value)
int indexOfEach(EachPredicate<T> value)

Maybe we should return OptionalInt instead of -1?

It is something like `query.filter.first`, but we want to return index of selected element, not value of element. ``` int indexOf(T value) int indexOf(Predicate<T> value) int indexOfEach(EachPredicate<T> value) ``` Maybe we should return OptionalInt instead of -1?
ranides a référencé ce problème à partir d'un commit il y a 4 ans
ranides a commenté il y a 4 ans
Propriétaire

not implemented: int indexOfEach(EachPredicate<T> value)

not implemented: `int indexOfEach(EachPredicate<T> value)`
ranides a référencé ce problème à partir d'un commit il y a 4 ans
Connectez-vous pour rejoindre cette conversation.
Aucun jalon
Pas d'assignataire
2 Participants
Chargement…
Annuler
Enregistrer
Il n'existe pas encore de contenu.