title: Efficient way to Compare Two List's object values without implenmenting equals()?
body: <p>I have two similar questions here:</p>
  
  <ol>
  <li><a href="https://stackoverflow.com/questions/16207718/java-compare-two-lists-object-values">Java Compare Two List&#39;s object values?</a></li>
  <li><a href="https://stackoverflow.com/questions/13501142/java-arraylist-how-can-i-tell-if-two-lists-are-equal-order-not-mattering">Java ArrayList - how can I tell if two lists are equal, order not mattering?</a></li>
  </ol>
  
  <p>But I have a boresome situation, making this problem a little complicated. The object I need to compare come from an ancient third-party jar, which has no equals() function. And I'm concerned of modifying its codes.</p>
  
  <p>One solution I came up with is building two other lists, and their values are tostring of the original lists. And the problem turns no difference with question 2.</p>
  
  <p>But I still wonder if there is a better way?</p>