Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: markspace <-@.> Newsgroups: comp.lang.java.programmer Subject: Re: iteration Date: Tue, 01 May 2012 08:59:17 -0700 Organization: A noiseless patient Spider Lines: 16 Message-ID: References: <27598671.190.1335882575014.JavaMail.geo-discussion-forums@ynbq3> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Tue, 1 May 2012 15:59:20 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="zgW2MA4sFrKxp4jMohs6RQ"; logging-data="31474"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX180UK9sNWT9UbseA5fyasLujF6b4WcfZIY=" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 In-Reply-To: <27598671.190.1335882575014.JavaMail.geo-discussion-forums@ynbq3> Cancel-Lock: sha1:yoam4EHUCgK/scY1hR/FX30fnD8= Xref: csiph.com comp.lang.java.programmer:14078 On 5/1/2012 7:29 AM, bob wrote: > What's the name of this type of iteration in Java? > > for (Player p : players) > { > > } > > I haven't seen this until recently. You will also get Google hits with "Java for each"