Collectors update

Brian Goetz brian.goetz at oracle.com
Tue Jan 29 17:09:29 PST 2013


> why not using a Supplier ?

How is that better?  It still has all the safety problems, PLUS the risk 
that the user serves up an array other than size 2.  And prevents the 
user from using array ctor refs (Foo[]::new).



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