title: Java 8 stream. all elements EXCEPT other elements
body: <p>I'm interested in identifying an approach that returns a list of elements excluding the elements in another list.</p>
  
  <p>for example</p>
  
  <pre><code>List&lt;Integer&gt; multiplesOfThree = ... // 3,6,9,12 etc
  List&lt;Integer&gt; evens = ... // 2,4,6,8 etc
  List&lt;Integer&gt; others = multiplesOfThree.except(evens) // should return a list of elements that are not in the other list
  </code></pre>
  
  <p>how do you do this? 
  i found an approach that's a bit clunky and difficult to read....</p>
  
  <pre><code>multiplesOfThree.stream()
  .filter(intval -&gt; evens.stream().noneMatch(even -&gt; even.intValue() == intval.intValue()))
  </code></pre>