Using unsigned values in Java

A common question on stackoverflow is; How do I use unsigned numbers in Java? The short answer is that for most operations it makes no difference whether the number is signed or unsigned. However to make this clear and to handle the operations where being unsigned makes a difference, I have create a simple helper class Unsigned available on Google Code.

Comments

Popular posts from this blog

Java is Very Fast, If You Don’t Create Many Objects

System wide unique nanosecond timestamps

Unusual Java: StackTrace Extends Throwable