2013/7/19 Mark Thomas wrote:
>
> I was pleasantly surprised how little code change was required to get
> this to work. That gives me confidence that the overall architecture is
> correct and that what we are fixing here are effectively corner cases.
>
Great job!
On 19/07/2013 07:23, Violeta Georgieva wrote:
> Hi,
>
> While I was playing with collections I decided to change a bit one of our
> tests (o.a.el.stream.TestCollectionOperations.testMaxLambda01()) and
>
> instead of
>
> beans.stream().max((x,y)->x.name.compareTo(y.name))
>
> I made it like this
Hi,
While I was playing with collections I decided to change a bit one of our
tests (o.a.el.stream.TestCollectionOperations.testMaxLambda01()) and
instead of
beans.stream().max((x,y)->x.name.compareTo(y.name))
I made it like this:
comparison = v->(x,y)->v(x).compareTo(v(y))
beans.stream().max(