@Deprecated public static class PluralRules.FixedDecimal extends Number implements Comparable<PluralRules.FixedDecimal>
| Modifier and Type | Field and Description |
|---|---|
long |
decimalDigits
Deprecated.
This API is ICU internal only.
|
long |
decimalDigitsWithoutTrailingZeros
Deprecated.
This API is ICU internal only.
|
boolean |
hasIntegerValue
Deprecated.
This API is ICU internal only.
|
long |
integerValue
Deprecated.
This API is ICU internal only.
|
boolean |
isNegative
Deprecated.
This API is ICU internal only.
|
double |
source
Deprecated.
This API is ICU internal only.
|
int |
visibleDecimalDigitCount
Deprecated.
This API is ICU internal only.
|
int |
visibleDecimalDigitCountWithoutTrailingZeros
Deprecated.
This API is ICU internal only.
|
| 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(long n)
Deprecated.
This API is ICU internal only.
|
FixedDecimal(String 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 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.
|
double |
get(com.ibm.icu.text.PluralRules.Operand operand)
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 com.ibm.icu.text.PluralRules.Operand |
getOperand(String t)
Deprecated.
This API is ICU internal only.
|
long |
getShiftedValue()
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 |
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 final double source
@Deprecated public final int visibleDecimalDigitCount
@Deprecated public final int visibleDecimalDigitCountWithoutTrailingZeros
@Deprecated public final long decimalDigits
@Deprecated public final long decimalDigitsWithoutTrailingZeros
@Deprecated public final long integerValue
@Deprecated public final boolean hasIntegerValue
@Deprecated public final boolean isNegative
@Deprecated public FixedDecimal(double n, int v, long f)
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 = 10@Deprecated public FixedDecimal(double n, int v)
@Deprecated public FixedDecimal(double n)
@Deprecated public FixedDecimal(long n)
@Deprecated public FixedDecimal(String 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()
@Deprecated public boolean isNegative()
@Deprecated public int getBaseFactor()
@Deprecated public static int decimals(double n)
@Deprecated public double get(com.ibm.icu.text.PluralRules.Operand operand)
@Deprecated public static com.ibm.icu.text.PluralRules.Operand getOperand(String t)
@Deprecated public int compareTo(PluralRules.FixedDecimal other)
compareTo in interface Comparable<PluralRules.FixedDecimal>other - the object to compare to this instance.another;
a positive integer if this instance is greater than
another; 0 if this instance has the same order as
another.@Deprecated public boolean equals(Object arg0)
Objecto must represent the same object
as this instance using a class-specific comparison. The general contract
is that this comparison should be reflexive, symmetric, and transitive.
Also, no object reference other than null is equal to null.
The default implementation returns true only if this ==
o. See Writing a correct
equals method
if you intend implementing your own equals method.
The general contract for the equals and Object.hashCode() methods is that if equals returns true for
any two objects, then hashCode() must return the same value for
these objects. This means that subclasses of Object usually
override either both methods or neither of them.
equals in class Objectarg0 - the object to compare this instance with.true if the specified object is equal to this Object; false otherwise.Object.hashCode()@Deprecated public int hashCode()
ObjectObject.equals(java.lang.Object) returns true must return
the same hash code value. This means that subclasses of Object
usually override both methods or neither method.
Note that hash values must not change over time unless information used in equals comparisons also changes.
See Writing a correct
hashCode method
if you intend implementing your own hashCode method.
hashCode in class ObjectObject.equals(java.lang.Object)@Deprecated public String toString()
ObjectgetClass().getName() + '@' + Integer.toHexString(hashCode())
See Writing a useful
toString method
if you intend implementing your own toString method.
@Deprecated public boolean hasIntegerValue()
@Deprecated public int intValue()
Number@Deprecated public long longValue()
Number@Deprecated public float floatValue()
NumberfloatValue in class Number@Deprecated public double doubleValue()
NumberdoubleValue in class Number@Deprecated public long getShiftedValue()