Class UnsignedLong

java.lang.Object
java.lang.Number
com.google.common.primitives.UnsignedLong
All Implemented Interfaces:
Serializable, Comparable<UnsignedLong>

@GwtCompatible(serializable=true) public final class UnsignedLong extends Number implements Comparable<UnsignedLong>, Serializable
A wrapper class for unsigned long values, supporting arithmetic operations.

In some cases, when speed is more important than code readability, it may be faster simply to treat primitive long values as unsigned, using the methods from UnsignedLongs.

See the Guava User Guide article on unsigned primitive utilities.

Since:
11.0
Author:
Louis Wasserman, Colin Evans
See Also: