@Deprecated public static class PluralRules.FixedDecimal extends Number implements Comparable<PluralRules.FixedDecimal>, PluralRules.IFixedDecimal
Constructor and Description |
---|
FixedDecimal(double n)
Deprecated.
This API is ICU internal only.
|
FixedDecimal(double n,
int v)
Deprecated.
This API is ICU internal only.
|
FixedDecimal(double n,
int v,
long f)
Deprecated.
This API is ICU internal only.
|
FixedDecimal(double n,
int v,
long f,
int e)
Deprecated.
This API is ICU internal only.
|
FixedDecimal(double n,
int v,
long f,
int e,
int c)
Deprecated.
This API is ICU internal only.
|
FixedDecimal(long n)
Deprecated.
This API is ICU internal only.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(PluralRules.FixedDecimal other)
Deprecated.
This API is ICU internal only.
|
static PluralRules.FixedDecimal |
createWithExponent(double n,
int v,
int e)
Deprecated.
This API is ICU internal only.
|
static int |
decimals(double n)
Deprecated.
This API is ICU internal only.
|
double |
doubleValue()
Deprecated.
This API is ICU internal only.
|
boolean |
equals(Object arg0)
Deprecated.
This API is ICU internal only.
|
float |
floatValue()
Deprecated.
This API is ICU internal only.
|
int |
getBaseFactor()
Deprecated.
This API is ICU internal only.
|
long |
getDecimalDigits()
Deprecated.
This API is ICU internal only.
|
long |
getDecimalDigitsWithoutTrailingZeros()
Deprecated.
This API is ICU internal only.
|
long |
getIntegerValue()
Deprecated.
This API is ICU internal only.
|
static PluralRules.Operand |
getOperand(String t)
Deprecated.
This API is ICU internal only.
|
double |
getPluralOperand(PluralRules.Operand operand)
Deprecated.
This API is ICU internal only.
|
double |
getSource()
Deprecated.
This API is ICU internal only.
|
int |
getVisibleDecimalDigitCount()
Deprecated.
This API is ICU internal only.
|
int |
getVisibleDecimalDigitCountWithoutTrailingZeros()
Deprecated.
This API is ICU internal only.
|
int |
hashCode()
Deprecated.
This API is ICU internal only.
|
boolean |
hasIntegerValue()
Deprecated.
This API is ICU internal only.
|
int |
intValue()
Deprecated.
This API is ICU internal only.
|
boolean |
isHasIntegerValue()
Deprecated.
This API is ICU internal only.
|
boolean |
isInfinite()
Deprecated.
This API is ICU internal only.
|
boolean |
isNaN()
Deprecated.
This API is ICU internal only.
|
boolean |
isNegative()
Deprecated.
This API is ICU internal only.
|
long |
longValue()
Deprecated.
This API is ICU internal only.
|
String |
toString()
Deprecated.
This API is ICU internal only.
|
byteValue, shortValue
@Deprecated public FixedDecimal(double n, int v, long f, int e, int c)
n
- is the original numberv
- number of digits to the right of the decimal place. e.g 1.00 = 2 25. = 0f
- Corresponds to f in the plural rules grammar.
The digits to the right of the decimal place as an integer. e.g 1.10 = 10e
- Suppressed exponent for scientific notationc
- Currently: an alias for param e
@Deprecated public FixedDecimal(double n, int v, long f, int e)
@Deprecated public FixedDecimal(double n, int v, long f)
@Deprecated public FixedDecimal(double n, int v)
@Deprecated public FixedDecimal(double n)
@Deprecated public FixedDecimal(long n)
@Deprecated public double getSource()
@Deprecated public int getVisibleDecimalDigitCount()
@Deprecated public int getVisibleDecimalDigitCountWithoutTrailingZeros()
@Deprecated public long getDecimalDigits()
@Deprecated public long getDecimalDigitsWithoutTrailingZeros()
@Deprecated public long getIntegerValue()
@Deprecated public boolean isHasIntegerValue()
PluralRules.IFixedDecimal
isHasIntegerValue
in interface PluralRules.IFixedDecimal
@Deprecated public boolean isNegative()
@Deprecated public int getBaseFactor()
@Deprecated public static PluralRules.FixedDecimal createWithExponent(double n, int v, int e)
@Deprecated public static int decimals(double n)
@Deprecated public double getPluralOperand(PluralRules.Operand operand)
getPluralOperand
in interface PluralRules.IFixedDecimal
@Deprecated public static PluralRules.Operand getOperand(String t)
@Deprecated public int compareTo(PluralRules.FixedDecimal other)
compareTo
in interface Comparable<PluralRules.FixedDecimal>
@Deprecated public boolean equals(Object arg0)
@Deprecated public int hashCode()
@Deprecated public String toString()
@Deprecated public boolean hasIntegerValue()
@Deprecated public int intValue()
@Deprecated public long longValue()
@Deprecated public float floatValue()
floatValue
in class Number
@Deprecated public double doubleValue()
doubleValue
in class Number
@Deprecated public boolean isNaN()
isNaN
in interface PluralRules.IFixedDecimal
@Deprecated public boolean isInfinite()
isInfinite
in interface PluralRules.IFixedDecimal
Copyright © 2016 Unicode, Inc. and others.