Lambda-related changes to collection api
Adam Rabung
adamrabung at gmail.com
Wed Nov 24 18:57:11 UTC 2010
Hi,
I would like to learn more about how the collection library will change when
lambdas are introduced in JDK 8. Specifically:
1. What methods are being considered? (ie, map, filter)
2. For a map-like method that can produce a collection of a different type,
what will the return type be? Will arrayList.map(str => str.length) return
an ArrayList, or an Iterable?
Any info/links would be much appreciated. I'm sorry if this is the wrong
forum.
Thanks,
Adam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/core-libs-dev/attachments/20101124/3e38880c/attachment.html>
More information about the core-libs-dev
mailing list