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

Tim Peierls tim at peierls.net
Fri Mar 29 10:02:21 PDT 2013

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

> OK, but I'm not sure what to say here?
> "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. :-)

> Suggestions for something less inappropriate for inclusion
> in javadocs would be welcome. Unless we find some wording that rises
> above the particulars, this seems to me  more like a FAQ issue than
> something to put in javadocs though.

If the full text can't be put in javadocs, then at least there should be a
link in the javadocs to some FAQ page. "Wondering why this isn't expressed
using enums and

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

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