which loop is faster?
<p>I have this loop</p>

<pre><code>for (it= someCollection.iterator; it.hasNext(); )
{
    //some code here
}
</code></pre>

<p>I changed it to:</p>

<pre><code>for (it= someCollection.iterator;; )
{
    if (!it.hasNext())
        break;
    //some code here
}
</code></pre>

<p>The second code ran a little bit faster in unit tests in junit on eclipse.
Is the second loop faster? I'm asking because the times given by Junit are not too exact, but they give an approximate value</p>
