Description: Like many Java developers you are probably working with the beta for J2SE 1.5. Here is another new technique to use with the beta. Looping through a collection of objects and doing something with each object is one of the most common programming idioms. You\'ve no doubt coded such a loop many times: List names = new ArrayList(); names.add(\"a\"); names.add(\"b\"); names.add(\"c\"); for (Iterator it = names.iterator(); it.hasNext(); ) { String name =...