Improved Java Collection APIs
Rémi Forax
forax at univ-mlv.fr
Fri Nov 19 17:38:55 UTC 2010
Le 19/11/2010 16:49, John Platts a écrit :
> Here are improvements that I really want to see to Java Collection APIs:
>
[...]
> - Addition of methods that iterates through the collection and invokes a callback. This is useful in cases where the callback object can be pre-allocated, since iteration using a java.util.Iterator object usually requires an iterator to be allocated each time an iteration takes place.
>
This one is on the task list of the lambda JSR, the callback will be
expressed as a lambda.
Rémi
More information about the core-libs-dev
mailing list