title: Java equivalent of Where Clause in C# Linq
body: <p>I can do this in C# : </p>
  
  <pre><code>int CheetahNumber = 77;
  Animal Cheetah = Model.Animals
     .Where(e =&gt; e.AnimalNo.Equals(CheetahNumber))
     .FirstOrDefault();
  </code></pre>
  
  <p>For example in Java I have <code>ArrayList&lt;Animal&gt; Animals</code></p>
  
  <p>How can I query such an ArrayList? Thanks.</p>