title: Is there any reason to use Apache HashCodeBuilder over Objects.hash?
body: <p>I am overriding the hashCode and equals method of an object.  I am using <a href="http://commons.apache.org/lang/api-2.3/org/apache/commons/lang/builder/EqualsBuilder.html" rel="noreferrer">EqualsBuilder</a> from the Apache Commons library for overriding equals.  Since I am using Java 7, I was planning to use the built-in <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Objects.html#hash%28java.lang.Object...%29" rel="noreferrer">hash method in the Objects class</a> instead of the Apache Commons <a href="http://commons.apache.org/lang/api-2.4/org/apache/commons/lang/builder/HashCodeBuilder.html" rel="noreferrer">HashCodeBuilder</a>.  Is there anything wrong with this approach? Is there any reason to prefer one over the other? </p>