-
Type:
Enhancement
-
Resolution: Unresolved
-
Priority:
P3
-
Affects Version/s: None
-
Component/s: core-libs
The List.indexOf(obj) method finds the index of the first element of the list that is equal to the argument. There should be a variation that takes a predicate and finds the index of the first element of the list that matches the predicate.
There is also a List.lastIndexOf(obj), so similarly there should be a List.lastIndexOfMatch(Predicate).
There is also a List.lastIndexOf(obj), so similarly there should be a List.lastIndexOfMatch(Predicate).