|
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.Decimal
public class Decimal
Value class that provides an implementation of the .NET Decimal data type. This class allows a Java client to interact with a .NET application.
Field Summary | |
---|---|
static Decimal |
MAX_VALUE
|
static Decimal |
MIN_VALUE
|
protected java.math.BigDecimal |
value
|
Constructor Summary | |
---|---|
Decimal(java.math.BigDecimal bigDecimal)
|
|
Decimal(byte sign, long valueHi32, long valueMid32, long valueLo32, byte scale)
|
|
Decimal(int ivalue)
Constructs from a signed 32 bit value |
|
Decimal(long longValue)
Constructs from a signed 64 bit long value |
|
Decimal(java.lang.String s)
Constructs from a string. |
Method Summary | |
---|---|
java.math.BigDecimal |
bigDecimalValue()
|
int |
compareTo(Decimal anotherDecimal)
` |
int |
compareTo(java.lang.Object o)
|
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 Decimal |
valueOf(java.lang.String s)
|
static Decimal |
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 java.math.BigDecimal value
public static final Decimal MAX_VALUE
public static final Decimal MIN_VALUE
Constructor Detail |
---|
public Decimal(long longValue)
public Decimal(int ivalue)
public Decimal(java.lang.String s)
public Decimal(java.math.BigDecimal bigDecimal)
public Decimal(byte sign, long valueHi32, long valueMid32, long valueLo32, byte scale)
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toHexString()
public static Decimal valueOf(java.lang.String s)
public static Decimal valueOf(java.lang.String s, int radix)
public int compareTo(Decimal anotherDecimal)
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 java.math.BigDecimal bigDecimalValue()
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 |