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

Doug Lea dl at cs.oswego.edu
Fri Mar 29 10:15:35 PDT 2013

On 03/29/13 13:02, Tim Peierls wrote:
> On Fri, Mar 29, 2013 at 12:54 PM, Doug Lea <dl at cs.oswego.edu
> <mailto: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. :-)

Your turn! (Or anyone else's)

I can't think of anything appropriate. So I'm hoping someone else can.

Compare the description of interest ops in SelectionKey


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