title: Java 8 - Filter with BiPredicate
body: <p>I have a Stream of Integer and I would like to find the two numbers whose sum is equals to another number. So I came up with the following solution:</p>
  
  <pre><code>BiPredicate&lt;Integer, Integer&gt; p = (price1, price2) -&gt; price1.intValue() + price2.intValue() == moneyQty;
  flavoursPrices.filter(p);
  </code></pre>
  
  <p>But the filter method does not receive a BiPredicate. Why not? What is an alternative for that?</p>