<html> | |
<body> | |
Reports classes which implement <b>java.lang.Comparable</b> | |
which do not override <b>equals()</b>. If <b>equals()</b> | |
is not overridden, the <b>equals()</b> implementation is not consistent with | |
the <b>compareTo()</b> implementation. If an object of such a class is added | |
to a collection such as <b>java.util.SortedSet</b>, this collection will violate | |
the contract of <b>java.util.Set</b>, which is defined in terms of | |
<b>equals()</b>. | |
<!-- tooltip end --> | |
<p> | |
</body> | |
</html> |