Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Java 8 will have some support for unsigned integers

DZone's Guide to

Java 8 will have some support for unsigned integers

· Java Zone ·
Free Resource

Automist automates your software deliver experience. It's how modern teams deliver modern software.

This seemed to be good news at first. An announcement by Oracle’s Joe Darcy claiming that Java will finally have *some* support for unsigned integers:

http://blogs.oracle.com/darcy/entry/unsigned_api

This will only be added on an API level, though. Not on a language level including all the expected features:

  • Primitive types
  • Wrapper types
  • Arithmetics
  • Casting rules
  • Boxing / Unboxing

A very “light” implementation of what could be expected… In the mean time, if you do need wrapper types, feel free to download (and contribute) to jOOU:

http://code.google.com/p/joou/

See also my previous blog post about jOOU:

Java’s missing unsigned integer types

 

From http://lukaseder.wordpress.com/2012/01/21/java-8-will-have-some-support-for-unsigned-integers/

Get the open source Atomist Software Delivery Machine and start automating your delivery right there on your own laptop, today!

Topics:

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}