While I was trying something special in for loop I recognized that Java doesn\'t seem to like putting an anonymous array right as the source for a for-each-loop:
<
Dunno, what about this? :) Pity there's no succinct version. Suppose you could use Groovy or Scala if you wanted anything like that :)
for (String s : Arrays.asList("a","b","c")) { hmm(s); }