How do we decide on the best implementation of hashCode() method for a collection (assuming that equals method has been overridden correctly) ?
hashCode()
Use the reflection methods on Apache Commons EqualsBuilder and HashCodeBuilder.