Review: lamda expressions and bulk data operations on collections.
Ali Ebrahimi
ali.ebrahimi1781 at gmail.com
Fri Aug 30 23:25:50 PDT 2013
I see nobody using mangled (comparing&map) methods (even oracle guys) and
this is the thing that I already have expected, just since we all lazy and
this would hurt performance. This issue would be a candidate topic for next
edition of Joshua Bloch's Effective Java.
So to prevent this I propose following names:
mapR ==== map (R === Reference Type)
mapI ==== mapToInt
mapL ==== mapToLong
mapD ==== mapToDouble
comparingR ==== comparing
comparingI ==== comparingInt
comparingL ==== comparingLong
comparingD ==== comparingDouble
All method names have same length.
Best Regards,
Ali Ebrahmi
On Sat, Aug 31, 2013 at 12:07 AM, Andrey Nazarov <
andrey.x.nazarov at oracle.com> wrote:
> Webrev is here
> http://cr.openjdk.java.net/~anazarov/jdk8-demo-bulkoperations/webrev.00/
> <
> http://cr.openjdk.java.net/%7Eanazarov/jdk8-demo-bulkoperations/webrev.00/
> >
> Mail server removes attachments.
>
> --Andrey
> On 29.08.2013 23:38, Alan Bateman wrote:
> > On 29/08/2013 19:33, Andrey Nazarov wrote:
> >> Hi guys,
> >>
> >> We want to push our demo code for lambda expression and bulk data
> >> operations.
> >> Could you please review this code? Webrev is attached.
> >>
> >>
> >> --Andrey.
> > Your mail didn't have an attachment, it probably was dropped by the
> > mail server. Can you publish on a HTTP server so that it can be browsed?
> >
> > -Alan.
>
>
>
More information about the lambda-dev
mailing list