Closed GoogleCodeExporter closed 9 years ago
You are just misusing the lambdaj API. minFrom() is intended to create a proxy
of a
list of object in order to find the minimum value on a give property of those
objects
like in the following example:
Integer age = minFrom(persons).getAge();
To achieve the result you wanted you should use the min() method instad, as it
follows:
Double minimum = min(numbers);
I hope this helps
Mario
Original comment by mario.fu...@gmail.com
on 13 Jul 2009 at 3:16
Mario,
you are right. I haven't been aware of min(...).
-Sebastian
Original comment by sebastian.jancke@googlemail.com
on 14 Jul 2009 at 7:14
Original issue reported on code.google.com by
sebastian.jancke@googlemail.com
on 13 Jul 2009 at 3:04