title: Comparing two different objects for being the same values
body: <p>I have two objects of type MyObject. Their private fields have things like <code>Integer, int, Long, long, String</code>, etc -- no fancy sub-objects or anything to this effect.</p>
  
  <p>I want to check to see if their fields are equal. I am not trying to check if they are the same object in memory (the same reference?), which they shouldn't be anyway since these two objects are from separate lists / created separately.</p>
  
  <p>What is the correct way to check if all the fields of one object have the same values as all the other fields of the second object?</p>