title: Java 8 streams how to filter contents a List not found in another arrayList?
body: <p>Can I filter an array list based on the elements found in another array list in java 8? The whole story is that I have fetched list of active employees from oracle E-business suite app  </p>
  
  <pre><code>**EmpID**
  00123
  003456
  023299  
  </code></pre>
  
  <p>and I have a separate file which contains photo with file Name <strong>EmpID.jpeg</strong></p>
  
  <pre><code>**FileName**
  00123.jpeg
  003456.jpeg
  023299.jpeg         
  </code></pre>
  
  <p>Now my purpose is to compare the lists and to filter employees who provide me photos and from those they did not give me.</p>
  
  <pre><code>private ArrayList&lt;String&gt; _IDsFromFile;
  private ArrayList&lt;String&gt; _IDsFromImage;
  
        ---
        ---
  
  public void compareAndCopy(String fileName){
  
  }
  </code></pre>