-
Bug
-
Resolution: Fixed
-
P3
-
6
-
b35
-
generic
-
generic
The javadoc for Comparator and Comparable have useless casts
to Object, like ((Object)x) which are bad style and may in fact
fail to compile in the presence of generics.
A cut and paste error in Comparator implies that the ordering
imposed by a comparator is the "natural ordering", but only
the Comparable ordering is the "natural ordering".
The phrase "implement comparable" is *much* clearer when
a <tt> is added.
implementer->implementor
There should be an @param <T>.
Missing object in method call:
compare(e1,e2) -> c.compare(e1,e2)
###@###.### 2005-04-20 01:01:59 GMT
to Object, like ((Object)x) which are bad style and may in fact
fail to compile in the presence of generics.
A cut and paste error in Comparator implies that the ordering
imposed by a comparator is the "natural ordering", but only
the Comparable ordering is the "natural ordering".
The phrase "implement comparable" is *much* clearer when
a <tt> is added.
implementer->implementor
There should be an @param <T>.
Missing object in method call:
compare(e1,e2) -> c.compare(e1,e2)
###@###.### 2005-04-20 01:01:59 GMT