|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | 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 objectpublic UnsignedInt16(java.lang.String a) throws java.lang.NumberFormatException
a
- the string to be represented as an unsigned 16-bit
integerMethod Detail |
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 java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |