[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] Re: Collections.binarySearch and poorly written comparators
From: |
Tom Tromey |
Subject: |
[cp-patches] Re: Collections.binarySearch and poorly written comparators |
Date: |
24 Dec 2005 11:02:39 -0700 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
>>>>> "Jeroen" == Jeroen Frijters <address@hidden> writes:
Jeroen> Seeing as we've already run into this twice, I've written a patch and
Jeroen> corresponding Mauve test and I'm going to commit it unless someone
Jeroen> complains with a valid argument.
What, "we're lazy" isn't valid? :-)
Please check it in. Thanks for writing it.
If you're interested there's also a PR about classes whose equals()
method doesn't return true even when the objects are '=='.
Apparently Sun's collections handle this.
Tom