title: Java Using Multiple predicate for anyMatch
body: <p>I am having a <code>List</code> of <code>HashMap</code> i.e <code>List&lt;Map&lt;String, Object&gt;&gt; result</code>. I want to check if some key value is present on this list or not.</p>
  
  <p>For Example: </p>
  
  <pre><code>Name      Count 
  Marvel    10
  DC         0  
  </code></pre>
  
  <p>I want that my list of map should contain at least one entry for the above table for that I am using <strong>anyMatch</strong></p>
  
  <pre><code>Assert.assertTrue(
  result.stream().anyMatch(
  ag -&gt; ( "Marvel".equals(ag.get("Name")) &amp;&amp;  10==(int)ag.get("Count"))
  ));
  </code></pre>
  
  <p>How can I use multiple Predicates ? I can have a list of 1000 <code>HashMap</code>, I just want to check if any two Hash-map from my list contains those two entries.</p>