use of equals() method in comparator interface?
<p><code>equals()</code> method is available to all java collection classes from the <code>Object</code> class. This method is also declared in <code>Comparator</code> interface, so what is the purpose of declaring this method in Comparator? in which case is it used and how?</p>
