Virtual extension methods -- a strawman design

Rémi Forax forax at univ-mlv.fr
Sat May 15 10:23:23 PDT 2010


Le 15/05/2010 19:04, Neal Gafter a écrit :
> On Sat, May 15, 2010 at 10:09 AM, Rémi Forax <forax at univ-mlv.fr 
> <mailto:forax at univ-mlv.fr>> wrote:
>
>     > Can you please give specific examples of the issues you
>     anticipate with the
>     > specific closurizations you want to do in particular APIs?
>
>     I think I can :)
>     Let say we want to add a method forEach in Collection:
>
>
> Rémi-
>
> Are you asserting that Oracle wants to add the "forEach" method to 
> Collection?  (If not, then you haven't answered my question)
>
> -Neal
>

forEach or map or filter are so common that I don't see why
they will not be added to the JDK.

Rémi


More information about the lambda-dev mailing list