|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.lang.Number
|
+--com.sun.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()
public short shortValue()
public int intValue()
public long longValue()
public float floatValue()
public double doubleValue()
public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object o)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||