Java: Getting a unique hash value of an object
<p>I am trying to get a unique hash value for a Java object, such as the following are true:</p>

<ol>
<li><code>If A == B then A.HashValue() == B.Hash.HashValue()</code></li>
<li><code>If A != B then A.HashValue() != B.HashValue()</code></li>
</ol>

<p>Lets say the object contains several boolean and integer fields.</p>
