StreamSupport -> Streams?

Remi Forax forax at univ-mlv.fr
Thu Jun 20 14:13:53 PDT 2013


On 06/20/2013 11:10 PM, Sam Pullara wrote:
> I'm just not happy with StreamSupport. There are perfectly reasonable 
> methods in there for library writers. I'm sure the javadocs can make 
> it clear what their purpose is and redirect people.
>
> Sam

I don't care if the class name is Streams or StreamSupport but I think 
it should be moved from package java.util.stream to java.util.stream.spi.

Rémi

>
> On Jun 20, 2013, at 2:08 PM, Tim Peierls <tim at peierls.net 
> <mailto:tim at peierls.net>> wrote:
>
>> On Thu, Jun 20, 2013 at 4:56 PM, Brian Goetz <brian.goetz at oracle.com 
>> <mailto:brian.goetz at oracle.com>> wrote:
>>
>>     Streams was already scheduled to be GC'ed, which would have left
>>     only StreamSupport.
>>
>>     The incremental suggestion from Sam was "Now that Streams is
>>     being GCed, can't we then rename StreamSupport to Streams, where
>>     this stuff used to live anyway?"
>>
>>
>> It might subtly push people who would otherwise happily ignore 
>> StreamSupport into thinking that these Streams methods were for 
>> general use.
>>
>> --tim
>



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