|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Number
org.sblim.wbem.cim.UnsignedInt16
Implements a 16-bit unsigned integer object. The value range of an unsigned integer of 16-bit is '0 .. 65535'.
Field Summary | |
static int |
MAX_VALUE
The maximum value a unsigned integer of 16-bit value can be. |
static int |
MIN_VALUE
The minimum value a unsigned integer of 16-bit value can be. |
Constructor Summary | |
UnsignedInt16(byte pValue)
Constructs an unsigned 16-bit integer object for the specified byte value. |
|
UnsignedInt16(int pValue)
Constructs an unsigned 16-bit integer object for the specified int value. |
|
UnsignedInt16(short pValue)
Constructs an unsigned 16-bit integer object for the specified short value. |
|
UnsignedInt16(java.lang.String pValue)
Constructs an unsigned 16-bit integer object for the specified String value. |
|
UnsignedInt16(UnsignedInt16 pValue)
Constructs an unsigned 16-bit integer object for the specified UnsignedInt16 value. |
|
UnsignedInt16(UnsignedInt8 pValue)
Constructs an unsigned 16-bit integer object for the specified UnsignedInt8 value. |
Method Summary | |
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()
|
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static int MIN_VALUE
public static int MAX_VALUE
Constructor Detail |
public UnsignedInt16(byte pValue)
pValue
- The value of the created object
java.lang.IllegalArgumentException
- If value does not fit into the MIN_VALUE .. MAX_VALUE range.public UnsignedInt16(short pValue)
pValue
- The value of the created object
java.lang.IllegalArgumentException
- If value does not fit into the MIN_VALUE .. MAX_VALUE range.public UnsignedInt16(int pValue)
pValue
- The value of the created object
java.lang.IllegalArgumentException
- If value does not fit into the MIN_VALUE .. MAX_VALUE range.public UnsignedInt16(java.lang.String pValue)
pValue
- The value of the created object
java.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 UnsignedInt16(UnsignedInt8 pValue)
pValue
- The value of the created objectpublic UnsignedInt16(UnsignedInt16 pValue)
pValue
- The value of the created objectMethod Detail |
public java.lang.String toString()
public boolean equals(java.lang.Object o)
public byte byteValue()
public short shortValue()
public int intValue()
public long longValue()
public float floatValue()
public double doubleValue()
public int hashCode()
public java.lang.Object clone()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |