title: java.lang.Comparable and equals
body: <p>If I implement <code>java.lang.Comparable</code> for a class, do I still have to override the <code>equals()</code> method? Or will the <code>Comparable</code> work for <code>equals</code> as well?</p>
  
  <p>If the answer is <strong>no</strong>, then what if some discrepancy arises? Let's say the way I term two objects as equal within the <code>equals()</code> method is different from the way I term two objects of the same class as equal within the <code>compareTo()</code> of the <code>Comparable</code>.</p>
  
  <p>Moreover, if I implement <code>Comparable</code>, do I also have to override <code>equals()</code>?</p>