How to skip a iteration/loop in while-loop
<p>Is there an elegant way to skip a iteration in while-loop ?</p>

<p>What I want to do is</p>

<pre><code>  while(rs.next())
  {
    if(f.exists() &amp;&amp; !f.isDirectory()){
      //then skip the iteration
     }
     else
     {
     //proceed
     }
  }
</code></pre>
