Agree with this as well.
On Sun, Jan 10, 2010 at 8:22 PM, Benson Margulies <bimargul...@gmail.com> wrote: > The hash map classes define 'pairsSortedByValue'. In the case of a map > that delivers objects, this requires the value type to implement > comparable, which, of course, not all classes will. It seems insane to > only support these maps (e.g. OpenIntObjectHashMap<T>) for 'T extends > Comparable'. So I plan to make it throw if the type happens not to > implement comparable. >