Java/Hibernate: HashCode, Equals methods
A simple post concerning the HashCode, Equals methods in Java world. These methods allow containers to 'categorize' the objects it contains and so find them more quickly. This is particularly true of all containers whose name begins with 'Hash' (eg. HashSet, HashMap, ...). These containers can contain objects on which an order is not necessarily defined (and easily defined) as opposed ...more»