map and reduce functions on list
Paul Sandoz
paul.sandoz at oracle.com
Mon Dec 10 09:44:25 PST 2012
On Dec 10, 2012, at 6:04 PM, Venkat Subramaniam <venkats at agiledeveloper.com> wrote:
> Greetings,
>
> Currently playing with b67 build and having a great time with it.
>
> To use the map and reduce functions on a list, I'm calling the stream() method first
> on a list. It would be convenient to have these methods directly on an Iterable (like
> it was in a version a few months ago). Are there plans to bring these methods
> back on Iterable
No plans.
> or is doing the conversion to Stream the path forward.
>
Yes.
Among other things it is far less intrusive approach to evolving the collections API and allows for integration into classes such as Random and BufferedReader.
Paul.
> My sincere apologies if this was discussed earlier and I totally missed it (a quick scan on
> the list did not help me find the discussion). Much appreciate the response.
>
> Thank you
>
> Venkat
>
More information about the lambda-dev
mailing list