'stream' values

Mohan.Radhakrishnan at cognizant.com Mohan.Radhakrishnan at cognizant.com
Wed May 6 09:27:51 UTC 2015


Hi,
       Can I stream values and operate on them like this ? I have a map and I would like to stream them. I also want to chain the functions. So, for example, I may sort the map's values and pass them on.

map.entries((e,m) => sort by using a predicate ).foreach(manipulate the map's values);

Thanks,
Mohan
This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient(s), please reply to the sender and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email, and/or any action taken in reliance on the contents of this e-mail is strictly prohibited and may be unlawful. Where permitted by applicable law, this e-mail and other e-mail communications sent to and from Cognizant e-mail addresses may be monitored.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20150506/f3f276ab/attachment.html>


More information about the es-discuss mailing list