Is it better to cast to a (Float) or declare a new Float when filling a map in a loop?
<p>Which version of the loop would be more efficient? Or does it really not matter?    </p>

<pre><code>SortedMap&lt;Float,Float&gt; map = uDataMaster.getMap();
for (int i = 0; i &lt; mzNumbers.length; i++) {
    map.put((Float)mzNumbers[i].floatValue(),(Float)intNumbers[i].floatValue());
}
</code></pre>

<p>versus</p>

<pre><code>SortedMap&lt;Float,Float&gt; map = uDataMaster.getMap();
for (int i = 0; i &lt; mzNumbers.length; i++) {
    map.put( new Float(mzNumbers[i].floatValue()),new Float(intNumbers[i].floatValue()));
}
</code></pre>
