Delete comment from: Javarevisited
Best tutorial on equals and hashCode I have read so far. equals() and hashCode() example are very clear to me. Just to add :
1) Two object which is logically equal but loaded from different ClassLoader can not be equals.
2) Use EqulasBuilder and HashCodeBuilder from Apache commons for overriding equals and hashCode.
Jul 29, 2012, 9:43:02 PM
Posted to Overriding equals() and hashCode() method in Java and Hibernate