How do we decide on the best implementation of hashCode() method for a collection (assuming that equals method has been overridden correctly) ?
hashCode()
It is better to use the functionality provided by Eclipse which does a pretty good job and you can put your efforts and energy in developing the business logic.