Spliterator flags as enum (was Initial java.util.Spliterator putback)

Tim Peierls tim at peierls.net
Fri Mar 29 12:01:41 PDT 2013


On Fri, Mar 29, 2013 at 1:15 PM, Doug Lea <dl at cs.oswego.edu> wrote:

>
>>     "You might have expected these to be defined in terms of enums and
>> EnumSets,
>>     but they weren't because we must ensure value-based propagation with
>>     additional masking and unmasking across stream stages, and there is
>>     no existing type to support this and we decided no to create one."
>>
>> It's a start. I particularly like the part up to the first comma. :-)
>>
>
> Your turn! (Or anyone else's)
>

*sigh* If I had the time to do anything other than throw stones, I'd put it
into a counter-proposal.

--tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/lambda-libs-spec-experts/attachments/20130329/8b5dcd90/attachment.html 


More information about the lambda-libs-spec-experts mailing list