title: Java Foreach with a condition
body: <p>Is it possible for Java foreach to have conditions?</p>
  
  <p>For example,</p>
  
  <pre><code>for(Foo foo : foos &amp;&amp; try == true)
  {
  //Do something
  }
  </code></pre>
  
  <p>Is there an equivalent to this, such that I can put an AND condition inside <code>for</code>?</p>