"andbin": stavo leggendo una tua spiegazione sul legame (contratto) fra metodo euquals() e hashCode(), dove dici che se equals() rest true, allora anche l'hashcode sarà uguale....
Non vorrei aver capito male, ma allora perchè se io in una hashTable <int, String> 2 stringhe uguali non hanno stesso hashcode, cioè ht.get(1).equals( ht.get(5) ) è TRUE ma ht.get(1).hashCode() è diverso da ht.get(5).hashCode()???