public final class Decimal128 extends java.lang.Number implements java.io.Serializable, java.lang.Comparable<Decimal128>
| Modifier and Type | Field and Description |
|---|---|
static Decimal128 |
NaN |
static Decimal128 |
NEGATIVE_INFINITY |
static Decimal128 |
NEGATIVE_ZERO |
static Decimal128 |
ONE |
static Decimal128 |
POSITIVE_INFINITY |
static Decimal128 |
POSITIVE_ZERO |
static Decimal128 |
TWO |
| Constructor and Description |
|---|
Decimal128(long low,
long high) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Decimal128 o) |
double |
doubleValue() |
float |
floatValue() |
long |
getHigh() |
long |
getLow() |
int |
intValue() |
long |
longValue() |
java.lang.String |
toString() |
public static final Decimal128 ONE
public static final Decimal128 TWO
public static final Decimal128 NaN
public static final Decimal128 POSITIVE_ZERO
public static final Decimal128 NEGATIVE_ZERO
public static final Decimal128 POSITIVE_INFINITY
public static final Decimal128 NEGATIVE_INFINITY
public long getLow()
public long getHigh()
public java.lang.String toString()
toString in class java.lang.Objectpublic 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 compareTo(Decimal128 o)
compareTo in interface java.lang.Comparable<Decimal128>