Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
For cases where Arrays#binarySearch cannot be used and for consistency with lists, consider adding indexOf(element) extension methods for array types.
Alternatives currently available:
Arrays.asList(array).indexOf(object) array.findIndexOf(array, object.&equals)