org.freedesktop.dbus
class UInt32 extends Number implements Comparable<UInt32>
Field Summary | |
---|---|
static long | MAX_VALUE Maximum allowed value |
static long | MIN_VALUE Minimum allowed value |
Constructor Summary | |
---|---|
UInt32(long value) Create a UInt32 from a long. | |
UInt32(String value) Create a UInt32 from a String. |
Method Summary | |
---|---|
byte | byteValue() The value of this as a byte. |
int | compareTo(UInt32 other) Compare two UInt32s. |
double | doubleValue() The value of this as a double. |
boolean | equals(Object o) Test two UInt32s for equality. |
float | floatValue() The value of this as a float. |
int | hashCode() |
int | intValue() The value of this as a int. |
long | longValue() The value of this as a long. |
short | shortValue() The value of this as a short. |
String | toString() The value of this as a string |
Parameters: value Must be a valid integer within MIN_VALUE–MAX_VALUE
Throws: NumberFormatException if value is not between MIN_VALUE and MAX_VALUE
Parameters: value Must parse to a valid integer within MIN_VALUE–MAX_VALUE
Throws: NumberFormatException if value is not an integer between MIN_VALUE and MAX_VALUE
Returns: 0 if equal, -ve or +ve if they are different.