Name: jl125535 Date: 03/19/2004
A DESCRIPTION OF THE REQUEST :
Both Double and Float have a convenient static compare() method so that, e.g.,
Double.compare (d1, d2) == new Double (d1).compareTo (d2)
But Integer and Long do not have such a method. I think it would be convenient
of those were added.
JUSTIFICATION :
It would make writing new implementations of Comparable more convenient, and there's no reason for the inconsistency between Double and Integer.
(Incident Review ID: 237828)
======================================================================
###@###.### 10/28/04 01:20 GMT
A DESCRIPTION OF THE REQUEST :
Both Double and Float have a convenient static compare() method so that, e.g.,
Double.compare (d1, d2) == new Double (d1).compareTo (d2)
But Integer and Long do not have such a method. I think it would be convenient
of those were added.
JUSTIFICATION :
It would make writing new implementations of Comparable more convenient, and there's no reason for the inconsistency between Double and Integer.
(Incident Review ID: 237828)
======================================================================
###@###.### 10/28/04 01:20 GMT