kvr000 opened a new pull request, #542: URL: https://github.com/apache/commons-collections/pull/542
Based on PR for commons-lang3 https://github.com/apache/commons-lang/pull/1270 There is `Collections.binarySearch()` in Java core. However, it searches for exact element which is often not usable, as the elements are typically sorted by particular field. These methods introduce `binarySearch()` on (sorted) `List`, with ability to provide sorting key extraction function and key comparator. The rest of semantics, behavior, parameters and return values remain consistent with `Collections.binarySearch()` from Java core. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
