|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.lang.Number
|
+--javax.wbem.cim.UnsignedInt16
Creates and instantiates an unsigned 16-bit integer object
| Field Summary | |
static int |
MAX_VALUE
the maximum value this int can have |
static int |
MIN_VALUE
the minimum value this int can have |
| Constructor Summary | |
UnsignedInt16(int a)
Constructor creates an unsigned 16-bit integer object for the specified int value. |
|
UnsignedInt16(java.lang.String a)
Constructor creates an unsigned 16-bit integer object for the specified string. |
|
| Method Summary | |
byte |
byteValue()
Returns the value of this unsigned 16-bit integer object as a byte This method returns the least significant 8 bits. |
double |
doubleValue()
Returns the value of this unsigned 16-bit integer object as a double |
boolean |
equals(java.lang.Object o)
Compares this unsigned 16-bit integer object with the specified object for equality |
float |
floatValue()
Returns the value of this unsigned 16-bit integer object as a float |
int |
hashCode()
Computes the hash code for this unsigned 16-bit integer object |
int |
intValue()
Returns the value of this unsigned 16-bit integer object as an int |
long |
longValue()
Returns the value of this unsigned 16-bit integer object as a long |
short |
shortValue()
Returns the value of this unsigned 16-bit integer object as a short |
java.lang.String |
toString()
Returns the text representation of this unsigned 16-bit integer object |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int MAX_VALUE
public static final int MIN_VALUE
| Constructor Detail |
public UnsignedInt16(int a)
a - the integer to be represented as an unsigned 16-bit
integer object
public UnsignedInt16(java.lang.String a)
throws java.lang.NumberFormatException
a - the string to be represented as an unsigned 16-bit
integer| Method Detail |
public byte byteValue()
byteValue in class java.lang.Numberpublic short shortValue()
shortValue in class java.lang.Numberpublic int intValue()
intValue in class java.lang.Numberpublic long longValue()
longValue in class java.lang.Numberpublic float floatValue()
floatValue in class java.lang.Numberpublic double doubleValue()
doubleValue in class java.lang.Numberpublic java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||