JDK 8 code review request for initial unsigned integer arithmetic library support

Ulf Zibis Ulf.Zibis at gmx.de
Fri Jan 20 20:27:24 UTC 2012


Am 20.01.2012 16:12, schrieb Ulf Zibis:
> A little different approach...
>
> Instead e.g.
>     int Byte.unsignedIntValueOf(byte x) aka int Byte.toUnsignedInt(byte x)
> I would vote for
>     int Integer.unsignedValueOf(byte x)

Alternative:
     int Integer.valueAsUnsigned(byte x)

-Ulf




More information about the core-libs-dev mailing list