Review Request: 8004201: add reducers to primitive type wrappers

Vitaly Davidovich vitalyd at
Fri Nov 30 18:59:39 UTC 2012

Hi Akhil,

At least for Integer.min/max you may want to use Math.min/max - these are
jit intrinsics.  I'd probably use the Math methods for all matching types
(int, long, float, double) to cover the bases.


Sent from my phone
On Nov 30, 2012 1:45 PM, "Akhil Arora" <akhil.arora at> wrote:

> Hi
> Requesting review for some basic functionality related to lambdas -
> Add min, max, sum methods to the primitive wrapper classes - Byte, Short,
> Integer, Long, Float, Double and Character so as to be able to use them as
> reducers in lambda expressions. Add and, or, xor methods to Boolean.
> Thanks

More information about the core-libs-dev mailing list