|
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.Object java.lang.Number com.rational.test.value.UInt64
public class UInt64
Value class that provides an implementation of an unsigned 64 bit integer. Unsigned 64 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 64 bit integers.
Field Summary | |
---|---|
static UInt64 |
MAX_VALUE
|
static java.math.BigInteger |
MAX_VALUE_BIG_FORMAT
|
static UInt64 |
MIN_VALUE
|
static java.math.BigInteger |
MIN_VALUE_BIG_FORMAT
|
protected long |
value
|
Constructor Summary | |
---|---|
UInt64(java.math.BigInteger big)
|
|
UInt64(long value)
Constructs from a signed 64 bit long value, the bits are treated as if they represented an unsigned value. |
|
UInt64(java.lang.String s)
Constructs from a string. |
Method Summary | |
---|---|
int |
compareTo(java.lang.Object o)
|
int |
compareTo(UInt64 anotherUInt)
|
double |
doubleValue()
|
boolean |
equals(java.lang.Object o)
|
float |
floatValue()
|
java.math.BigInteger |
getBigInteger()
|
long |
getRawValue()
Intended for internal use only. |
int |
hashCode()
|
int |
intValue()
|
long |
longValue()
|
java.lang.String |
toHexString()
|
java.lang.String |
toString()
|
static UInt64 |
valueOf(java.lang.String s)
|
static UInt64 |
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
public static final UInt64 MIN_VALUE
public static final java.math.BigInteger MIN_VALUE_BIG_FORMAT
public static final UInt64 MAX_VALUE
public static final java.math.BigInteger MAX_VALUE_BIG_FORMAT
Constructor Detail |
---|
public UInt64(long value)
public UInt64(java.lang.String s)
public UInt64(java.math.BigInteger big)
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toHexString()
public static UInt64 valueOf(java.lang.String s)
public static UInt64 valueOf(java.lang.String s, int radix)
public int compareTo(UInt64 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
public long getRawValue()
public java.math.BigInteger getBigInteger()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |