Spliterator.OfInt vs. Spliterator.OfPrimitive

Brian Goetz brian.goetz at oracle.com
Wed Jan 16 17:58:30 PST 2013


Both exist for a reason, but that reason will only become apparent when we add Spliterator.Of{Double,Long}.  

On Jan 16, 2013, at 11:53 AM, Paul Benedict wrote:

> These classes aren't identical but they look really close. One is
> specialized for int, the other for primitives. Are both supposed to
> exist or is one left-over from previous design iterations?
> 



More information about the lambda-dev mailing list