|
||||||||||
| 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.UnsignedInt8
public class UnsignedInt8
Implements a 8-bit unsigned integer object. The value range of an unsigned integer of 8-bit is '0 .. 255'.
| Field Summary | |
|---|---|
static short |
MAX_VALUE
The maximum value a unsigned integer of 8-bit value can be. |
static short |
MIN_VALUE
The minimum value a unsigned integer of 8-bit value can be. |
| Constructor Summary | |
|---|---|
UnsignedInt8(byte pValue)
Constructs an unsigned 8-bit integer object for the specified byte value. |
|
UnsignedInt8(short pValue)
Constructs an unsigned 8-bit integer object for the specified short value. |
|
UnsignedInt8(java.lang.String pValue)
Constructs an unsigned 8-bit integer object for the specified String value. |
|
UnsignedInt8(UnsignedInt8 pValue)
Constructs an unsigned 8-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 short MIN_VALUE
public static short MAX_VALUE
| Constructor Detail |
|---|
public UnsignedInt8(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 UnsignedInt8(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 UnsignedInt8(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 UnsignedInt8(UnsignedInt8 pValue)
pValue - The value of the created object| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic 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 int hashCode()
hashCode in class java.lang.Objectpublic java.lang.Object clone()
clone in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||