title: Check if two List<E> have some single common element
body: <p>I am trying to check if two lists have some single common element. I have tried different ways but it always return false. By now I am using the method contains(Object):</p>
  
  <pre><code>private void setImportedAreaParameters(EList&lt;EArea&gt; exitingAreas) {
      EList&lt;EPoint&gt; importedAreaPoints = importedArea.getPoly().getPoints();
      for (EArea existingArea : exitingAreas){
          EList&lt;EPoint&gt; existingAreaPoints = existingArea.getPoly().getPoints();
          if(importedAreaPoints.contains(existingAreaPoints)){
              importedArea.setImportChoice(EImportAreaChoiceEnum.REPLACE);
          }
          else if (importedAreaPoints.size() &gt;= POLYGON_POINTS_MAX_VALUE){
              importedArea.setImportChoice(EImportAreaChoiceEnum.TO_MANY_POINT);
          }
      }
  }
  </code></pre>
  
  <p>The EList importedAreaPoints and existingAreaPoints have exactly the same elements.</p>
  
  <p>importedAreaPoints 
  <code>[com.samu.domain.EPoint@45f5fd38 (lat: -5.580874037404866, lon: 35.94777225005756), com.samu.domain.EPoint@3dd4c25c (lat: -5.286985080169555, lon: 35.97486383222591), com.samu.domain.EPoint@18a80682 (lat: -5.286985080169555, lon: 35.71115171259456), com.samu.domain.EPoint@6c992dd3 (lat: -5.573099299909384, lon: 35.68508505352236), com.samu.domain.EPoint@6ef0145 (lat: -5.580874037404866, lon: 35.94777225005756)]</code></p>
  
  <p>existingAreaPoints 
  <code>[com.samu.domain.EPoint@2d5caf46 (lat: -5.580874037404866, lon: 35.94777225005756), com.samu.domain.EPoint@2163354d (lat: -5.286985080169555, lon: 35.97486383222591), com.samu.domain.EPoint@2dd124cc (lat: -5.286985080169555, lon: 35.71115171259456), com.samu.domain.EPoint@66e5987d (lat: -5.573099299909384, lon: 35.68508505352236), com.samu.domain.EPoint@2e8b3d78 (lat: -5.580874037404866, lon: 35.94777225005756)]</code></p>
  
  <p>EList extends from java.util.List</p>