title: Why does Comparator declare equals?
body: <p>The Comparator interface has its own <code>equals()</code> method. Any class will get <code>equals()</code> by default through Object class. What is the need to have <code>equals()</code> method inside an interface?</p>