easier work with collections: default Stream.toList?

Brian Goetz brian.goetz at oracle.com
Wed Oct 2 09:20:57 PDT 2013


>> By the same reasoning, List should not be used in any public API ever:)
> 
> Ermm... only if you take that reasoning to an unreasonable level :-)

Right.  It was a design goal of Streams to be "Collections 1.5" -- not the replacement for the collections, but a bridge to where we could see Collections 2 from there.  Hence the reluctance to wrap the historical anchor around our neck.  




More information about the lambda-dev mailing list