title: Comparing references in Java
body: <p>Let's say that you have overridden an object's equals() and hashCode() methods, so that they use the object's fields.</p>
  
  <p>How you do you check if two references are to the same object, ala the stock equals() method?</p>