public class UnsignedInt32
extends java.lang.Number
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
static long |
MAX_VALUE
The maximum value a unsigned integer of 32-bit value can be.
|
static long |
MIN_VALUE
The minimum value a unsigned integer of 32-bit value can be.
|
Constructor and Description |
---|
UnsignedInt32(byte pValue)
Constructs an unsigned 32-bit integer object for the specified byte
value.
|
UnsignedInt32(int pValue)
Constructs an unsigned 32-bit integer object for the specified int value.
|
UnsignedInt32(long pValue)
Constructs an unsigned 32-bit integer object for the specified long
value.
|
UnsignedInt32(short pValue)
Constructs an unsigned 32-bit integer object for the specified short
value.
|
UnsignedInt32(java.lang.String pValue)
Constructs an unsigned 32-bit integer object for the specified String
value.
|
UnsignedInt32(UnsignedInt16 pValue)
Constructs an unsigned 32-bit integer object for the specified
UnsignedInt16 value.
|
UnsignedInt32(UnsignedInt32 pValue)
Constructs an unsigned 32-bit integer object for the specified
UnsignedInt32 value.
|
UnsignedInt32(UnsignedInt8 pValue)
Constructs an unsigned 32-bit integer object for the specified
UnsignedInt8 value.
|
Modifier and Type | Method and Description |
---|---|
byte |
byteValue() |
java.lang.Object |
clone() |
double |
doubleValue() |
boolean |
equals(java.lang.Object o) |
float |
floatValue() |
int |
hashCode() |
int |
intValue() |
long |
longValue() |
short |
shortValue() |
java.lang.String |
toString() |
public static long MIN_VALUE
public static long MAX_VALUE
public UnsignedInt32(byte pValue)
pValue
- The value of the created objectjava.lang.IllegalArgumentException
- If value does not fit into the MIN_VALUE .. MAX_VALUE range.public UnsignedInt32(short pValue)
pValue
- The value of the created objectjava.lang.IllegalArgumentException
- If value does not fit into the MIN_VALUE .. MAX_VALUE range.public UnsignedInt32(int pValue)
pValue
- The value of the created objectjava.lang.IllegalArgumentException
- If value does not fit into the MIN_VALUE .. MAX_VALUE range.public UnsignedInt32(long pValue)
pValue
- The value of the created objectjava.lang.IllegalArgumentException
- If value does not fit into the MIN_VALUE .. MAX_VALUE range.public UnsignedInt32(java.lang.String pValue)
pValue
- The value of the created objectjava.lang.NumberFormatException
- If value contains non numeric values.java.lang.IllegalArgumentException
- If value is not a null/empty string or if value does not fit
into the MIN_VALUE .. MAX_VALUE range.public UnsignedInt32(UnsignedInt8 pValue)
pValue
- The value of the created objectjava.lang.IllegalArgumentException
- If value does not fit into the MIN_VALUE .. MAX_VALUE range.public UnsignedInt32(UnsignedInt16 pValue)
pValue
- The value of the created objectjava.lang.IllegalArgumentException
- If value does not fit into the MIN_VALUE .. MAX_VALUE range.public UnsignedInt32(UnsignedInt32 pValue)
pValue
- The value of the created objectjava.lang.IllegalArgumentException
- If value does not fit into the MIN_VALUE .. MAX_VALUE range.public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public byte byteValue()
byteValue
in class java.lang.Number
public short shortValue()
shortValue
in class java.lang.Number
public int intValue()
intValue
in class java.lang.Number
public long longValue()
longValue
in class java.lang.Number
public float floatValue()
floatValue
in class java.lang.Number
public double doubleValue()
doubleValue
in class java.lang.Number
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.Object clone()
clone
in class java.lang.Object
Copyright © 2005, 2011 IBM Corporation. All Rights Reserved.