title: Java 8 Streams - Filter More Than One Condition
body: <p>Based on some sports results data, I have a <code>Fixture</code> object which has <code>getHome()</code> and <code>getAway()</code> method. I'd like to shorten this method which I've written to only use a single lambda function (instead of creating a new list and two lambdas), is this possible? </p>
  
  <pre><code>    private Collection&lt;FixtureResult&gt; finalResults(Team team) {
  
      List&lt;FixtureResult&gt;finalResults = new ArrayList&lt;&gt;();
  
      List&lt;FixtureResult&gt; homeResults = resultList.stream().filter(fixture -&gt;
              fixture.getHome().equals(team))
              .collect(toList());
  
      List&lt;FixtureResult&gt; awayResults = resultList.stream().filter(fixture -&gt;
              fixture.getAway().equals(team))
              .collect(toList());
  
      finalResults.addAll(homeResults);
      finalResults.addAll(awayResults);
  
      return finalResults;
  }
  </code></pre>