ali-ghanbari opened a new pull request #804:
URL: https://github.com/apache/commons-lang/pull/804


   If I am not mistaking, JDK standard library and the current implementation 
of Apache Commons Lang do not have functions for binary searching for `floor` 
and `ceiling` in sorted arrays.
   
   This PR adds efficient implementation for `floor` and `ceiling` inside the 
class `ArrayUtils` (Java's `Arrays` class has `binarySearch` methods, so I 
thought this class would be a good place for these methods).
   The methods handle various Java types.
   A few test cases are also included.
   


-- 
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]


Reply via email to