Is it possible to cast in fast enumeration?
<p>Suppose you start with </p>

<pre><code>                         // Set&lt;String&gt;
Object arrayOfSomething[] = someObject.toArray();
</code></pre>

<p>Now, i know that <code>arrayOfSomething</code> is really an <code>arrayOfStrings</code>, i'd like to iterate over</p>

<p>Currently, i </p>

<pre><code>for (Object o : arrayOfSomething) {
   String strValue = ((String) o).trim();
    ...
</code></pre>

<p>Is something along the following possible:</p>

<pre><code>for (String (String) strValue : arrayOfSomething) {
    ...
</code></pre>

<p>Is it possible to cast an object as part of a fast enumeration?</p>
