|
||||||||||
| 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.UnsignedInt64
Creates and instantiates an unsigned 64-bit integer object. The CIMDataType class uses this class to instantiate valid CIM data types.
| Field Summary | |
static java.math.BigInteger |
MAX_VALUE
the maximum value this BigInteger can have |
static java.math.BigInteger |
MIN_VALUE
the minimum value this BigInteger can have |
| Constructor Summary | |
UnsignedInt64(java.math.BigInteger input)
Constructor creates an unsigned 64-bit integer object for the specified BigInteger. |
|
UnsignedInt64(byte[] bval)
Constructor creates an unsigned 64-bit integer object for the specified array of bytes. |
|
UnsignedInt64(java.lang.String sval)
Constructor creates an unsigned 64-bit integer object for the specified string. |
|
| Method Summary | |
java.math.BigInteger |
bigIntValue()
|
int |
compareTo(java.lang.Object val)
Compares this UnsignedInt64 with the specified UnsignedInt64. |
double |
doubleValue()
Returns the value of the specified number as a double. |
boolean |
equals(java.lang.Object o)
Compares this unsigned 64-bit integer object with the specified object for equality |
float |
floatValue()
Returns the value of the specified number as a float. |
int |
hashCode()
Returns the hash code for this UnsignedInt64. |
int |
intValue()
Returns the value of the specified number as an int. |
long |
longValue()
Returns the value of the specified number as a long. |
java.lang.String |
toString()
Returns the text representation of this unsigned 64-bit integer object |
| Methods inherited from class java.lang.Number |
byteValue, shortValue |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final java.math.BigInteger MAX_VALUE
public static final java.math.BigInteger MIN_VALUE
| Constructor Detail |
public UnsignedInt64(java.lang.String sval)
throws java.lang.NumberFormatException
public UnsignedInt64(byte[] bval)
throws java.lang.NumberFormatException
public UnsignedInt64(java.math.BigInteger input)
| Method Detail |
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.math.BigInteger bigIntValue()
public int intValue()
int.
This may involve rounding.
intValue in class java.lang.Numberint.public long longValue()
long.
This may involve rounding.
longValue in class java.lang.Numberlong.public double doubleValue()
double.
This may involve rounding.
doubleValue in class java.lang.Numberdouble.public float floatValue()
float.
This may involve rounding.
floatValue in class java.lang.Numberfloat.public int compareTo(java.lang.Object val)
compareTo in interface java.lang.Comparableval - Object to which this UnsignedInt64 is to be compared. Throws
a ClassCastException if the input object is not an
UnsignedInt64.public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||