This is one of the previously moved from the blogspirit.
IBM DeveloperWork on Enhance Looping in Java 5.0 with for / in,
"The for / in loop - OFTEN Called Either Enhanced For Foreach Is Largely a Convenience Feature In Java 5.0. It Doesn't Really Offer Any New FunctionALITY, but Certainly Makes Several Routine Coding Tasks Simpler.
English Version is here; Chinese version is here;
IT IS Written by Brett McLaghlin, Who is The Author for O'Reilly's Java 1.5 Tiger: a developer's notebook is actually in 9CBS, the big-enhanced looping function is introduced in 5.0.