RFR 8009736: Comparator API cleanup

Tom Hawtin tom.hawtin at oracle.com
Wed Jun 19 06:52:28 PDT 2013



On 19/06/2013 00:40, John Rose wrote:
> On Jun 18, 2013, at 3:38 PM, Tom Hawtin <tom.hawtin at oracle.com
> <mailto:tom.hawtin at oracle.com>> wrote:

>>             return
>>                 a==b ? 0 :
>>                 a==null ? (nullsFirst ? -1 : 1) :
>>                 real.compare(a, b);
>
> [...]

It's also wrong. :)

Tom


More information about the lambda-dev mailing list