Operator (U,U)-->V?

Brian Goetz brian.goetz at oracle.com
Sat Aug 11 14:04:39 PDT 2012


Such operations will be supported when we cut over to the in-progress 
"iteration 2" APIs.

On 8/11/2012 2:44 PM, Jose wrote:
>
> Hi all,
>
> Reading the docs I didn't find a binary operation as:
>
>                 (U,U)-->V
>
> Does it exits?
>
> I was triying to do something like this:
>
> Iterable<Segment> = polyline.nodes().cumulate((p0,p1)->new Segment(p0,p1))
>
>
>


More information about the lambda-dev mailing list