public final class ULong extends UNumber implements Comparable<ULong>
unsigned long type| Modifier and Type | Field and Description | 
|---|---|
static BigInteger | 
MAX_VALUE
A constant holding the maximum value an  
unsigned long can
 have, 264-1. | 
static BigInteger | 
MAX_VALUE_LONG
A constant holding the maximum value + 1 an  
signed long can
 have, 263. | 
static BigInteger | 
MIN_VALUE
A constant holding the minimum value an  
unsigned long can
 have, 0. | 
| Constructor and Description | 
|---|
ULong(BigInteger value)
Deprecated. 
 
- Use  
valueOf(BigInteger), or
             Unsigned.ulong(BigInteger) instead | 
ULong(long value)
Deprecated. 
 
- Use  
valueOf(long), or Unsigned.ulong(long)
             instead | 
ULong(String value)
Deprecated. 
 
- Use  
valueOf(String), or
             Unsigned.ulong(String) instead | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
compareTo(ULong o)  | 
double | 
doubleValue()  | 
boolean | 
equals(Object obj)  | 
float | 
floatValue()  | 
int | 
hashCode()  | 
int | 
intValue()  | 
long | 
longValue()  | 
String | 
toString()  | 
static ULong | 
valueOf(BigInteger value)
Create an  
unsigned long | 
static ULong | 
valueOf(long value)
Create an  
unsigned long by masking it with
 0xFFFFFFFFFFFFFFFF i.e. | 
static ULong | 
valueOf(String value)
Create an  
unsigned long | 
toBigIntegerbyteValue, shortValuepublic static final BigInteger MIN_VALUE
unsigned long can
 have, 0.public static final BigInteger MAX_VALUE
unsigned long can
 have, 264-1.public static final BigInteger MAX_VALUE_LONG
signed long can
 have, 263.@Deprecated public ULong(BigInteger value) throws NumberFormatException
unsigned longNumberFormatException - If value is not in the range
             of an unsigned long@Deprecated public ULong(long value)
unsigned long by masking it with
 0xFFFFFFFFFFFFFFFF i.e. (long) -1 becomes
 (uint) 18446744073709551615@Deprecated public ULong(String value) throws NumberFormatException
unsigned longNumberFormatException - If value does not contain a
             parsable unsigned long.public static ULong valueOf(String value) throws NumberFormatException
unsigned longNumberFormatException - If value does not contain a
             parsable unsigned long.public static ULong valueOf(long value)
unsigned long by masking it with
 0xFFFFFFFFFFFFFFFF i.e. (long) -1 becomes
 (uint) 18446744073709551615public static ULong valueOf(BigInteger value) throws NumberFormatException
unsigned longNumberFormatException - If value is not in the range
             of an unsigned longpublic float floatValue()
floatValue in class Numberpublic double doubleValue()
doubleValue in class Numberpublic int compareTo(ULong o)
compareTo in interface Comparable<ULong>Copyright © 2013. All Rights Reserved.