PROPOSAL: Enhanced for each loop iteration control
Joseph D. Darcy
Joe.Darcy at Sun.COM
Sat May 16 19:21:54 PDT 2009
PS Sun bug 6463989 "(coll) Provide Iterable utility methods and
light-weight Iterable implementations" requests support for some helper
methods operating on Iterable's that could be used to perform of the
operations in question.
-Joe
Reinier Zwitserloot wrote:
> Ah, that's my mistake. In that case, I know this isn't a democracy,
> but, for what it's worth, I'll toss my hat into the ring for the
> original 3-way colon separated proposal:
>
> for ( String foo : someStringList : anyName ) {
> }
>
>
>
> where anyName's type becomes a class created for java 1.7, which
> includes index(), isFirst(), remove(), and other useful utilities, all
> based off of the iterator. I believe Stephen Colebourne made a formal
> proposal for this one.
>
>
> --Reinier Zwitserloot
> Like it? Tip it!
> http://tipit.to
>
>
>
> On May 6, 2009, at 21:06, Joe Darcy wrote:
>
>
>> On 05/06/09 05:38 AM, Stephen Colebourne wrote:
>>
>>> 2009/5/6 Reinier Zwitserloot <reinier at zwitserloot.com>:
>>>
>>>
>>>> the original 3-way colon-separated for proposal that was not even
>>>> shortlisted by Joe Darcy. Why are we talking about this again?
>>>>
>>>>
>>> The shortlist occurred before the end of Coin's submission period.
>>> IIRC, this proposal was added after that shortlist was published. I
>>> suspect that Joe is due to publish a more final shortlist soon.
>>>
>>> Stephen
>>>
>>>
>>>
>> Yes, I'm busy working on the short list and other coin matters :-)
>>
>> -Joe
>>
>>
>>
>
>
>
More information about the coin-dev
mailing list