title: Why there is no Hashable interface in Java
body: <p><code>Object</code> in Java has <code>hashCode</code> method, however, it is being used only in associative containers like <code>HashSet</code> or <code>HashMap</code>. Why was it designed like that? <code>Hashable</code> interface having <code>hashCode</code> method looks as much more elegant solution.</p>