[cp-patches] FYI: Add new Arrays.binarySearch methods

Francis Kung fkung at redhat.com
Wed Jan 3 20:59:14 UTC 2007


Hi,

Andrew John Hughes wrote:
> This adds the new range-based binarySearch methods.

Unfortunately this breaks the binarySearch for empty arrays.  I've just 
committed some mauve tests for this case.

I've attached a patch that fixes it; let me know if you'd like me to 
commit, or if you'll approach this another way.

Cheers,
Francis

-------------- next part --------------
A non-text attachment was scrubbed...
Name: binarysearch.diff
Type: text/x-patch
Size: 2456 bytes
Desc: not available
Url : http://developer.classpath.org/pipermail/classpath-patches/attachments/20070103/4b849162/binarysearch.bin


More information about the Classpath-patches mailing list