javax.cim
public class UnsignedInteger16 extends Number implements Comparable<UnsignedInteger16>
UnsignedInteger16. A
uint16 data type is defined by the (DMTF) CIM Infrastructure Specification (DSP004).
| Field Summary | |
|---|---|
| static int | MAX_VALUE
The maximum value for an UnsignedInteger16. |
| static int | MIN_VALUE
The minimum value for an UnsignedInteger16. |
| Constructor Summary | |
|---|---|
| UnsignedInteger16(int pValue)
Constructs an unsigned 16-bit integer object for the specified int value.
| |
| UnsignedInteger16(String pValue)
Constructs an unsigned 16-bit integer object for the specified string.
| |
| Method Summary | |
|---|---|
| int | compareTo(UnsignedInteger16 pOther)
Compares this object with the specified object for order. |
UnsignedInteger16.UnsignedInteger16.Parameters: pValue The integer to be represented as an unsigned 16-bit integer.
Throws: NumberFormatException If the number is out of range.
Parameters: pValue The string to be represented as an unsigned 16-bit integer.
Throws: NumberFormatException If the number is out of range.
Parameters: pOther The Object to be compared.
Returns: A negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.