|
IBM Rational Functional Tester Version 8.1.1000 IBM Rational Functional Tester API Reference Project Version 2.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Number
com.rational.test.value.UInt32
public class UInt32
Value class that provides an implementation of an unsigned 32 bit integer. Unsigned 32 bit integers do not exist in Java but do exist on other platforms (for example, .NET). This class allows a Java client to interact with a platform which uses unsigned 32 bit integers.
Field Summary | |
---|---|
protected long |
value
|
Constructor Summary | |
---|---|
UInt32(int ivalue)
Constructs from a signed 32 bit value, the bits of the value are assumed to actually represent an unsigned number. |
|
UInt32(long value)
Constructs from a signed 64 bit long value, only 32 bits of the value is used. |
|
UInt32(java.lang.String s)
Constructs from a string. |
Method Summary | |
---|---|
int |
compareTo(java.lang.Object o)
|
int |
compareTo(UInt32 anotherUInt)
` |
double |
doubleValue()
|
boolean |
equals(java.lang.Object o)
|
float |
floatValue()
|
int |
hashCode()
|
int |
intValue()
|
long |
longValue()
|
java.lang.String |
toHexString()
|
java.lang.String |
toString()
|
static UInt32 |
valueOf(java.lang.String s)
|
static UInt32 |
valueOf(java.lang.String s, int radix)
|
Methods inherited from class java.lang.Number |
---|
byteValue, shortValue |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected long value
Constructor Detail |
---|
public UInt32(long value)
public UInt32(int ivalue)
public UInt32(java.lang.String s)
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toHexString()
public static UInt32 valueOf(java.lang.String s)
public static UInt32 valueOf(java.lang.String s, int radix)
public int compareTo(UInt32 anotherUInt)
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public float floatValue()
floatValue
in class java.lang.Number
public double doubleValue()
doubleValue
in class java.lang.Number
public int intValue()
intValue
in class java.lang.Number
public long longValue()
longValue
in class java.lang.Number
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |