Package com.ibm.icu.text
Class PluralRules.FixedDecimal
java.lang.Object
java.lang.Number
com.ibm.icu.text.PluralRules.FixedDecimal
- All Implemented Interfaces:
PluralRules.IFixedDecimal
,Serializable
,Comparable<PluralRules.FixedDecimal>
- Enclosing class:
PluralRules
@Deprecated
public static class PluralRules.FixedDecimal
extends Number
implements Comparable<PluralRules.FixedDecimal>, PluralRules.IFixedDecimal
Deprecated.
This API is ICU internal only.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFixedDecimal
(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. -
Method Summary
Modifier and TypeMethodDescriptionint
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
Deprecated.This API is ICU internal only.boolean
Deprecated.This API is ICU internal only.float
Deprecated.This API is ICU internal only.int
Deprecated.This API is ICU internal only.long
Deprecated.This API is ICU internal only.long
Deprecated.This API is ICU internal only.long
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
Deprecated.This API is ICU internal only.int
Deprecated.This API is ICU internal only.int
Deprecated.This API is ICU internal only.int
hashCode()
Deprecated.This API is ICU internal only.boolean
Deprecated.This API is ICU internal only.int
intValue()
Deprecated.This API is ICU internal only.boolean
Deprecated.This API is ICU internal only.boolean
Deprecated.This API is ICU internal only.boolean
isNaN()
Deprecated.This API is ICU internal only.boolean
Deprecated.This API is ICU internal only.long
Deprecated.This API is ICU internal only.toString()
Deprecated.This API is ICU internal only.Methods inherited from class java.lang.Number
byteValue, shortValue
-
Constructor Details
-
FixedDecimal
Deprecated.This API is ICU internal only.- Parameters:
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 parame
-
FixedDecimal
Deprecated.This API is ICU internal only. -
FixedDecimal
Deprecated.This API is ICU internal only. -
FixedDecimal
Deprecated.This API is ICU internal only. -
FixedDecimal
Deprecated.This API is ICU internal only. -
FixedDecimal
Deprecated.This API is ICU internal only.
-
-
Method Details
-
getSource
Deprecated.This API is ICU internal only. -
getVisibleDecimalDigitCount
Deprecated.This API is ICU internal only. -
getVisibleDecimalDigitCountWithoutTrailingZeros
Deprecated.This API is ICU internal only. -
getDecimalDigits
Deprecated.This API is ICU internal only. -
getDecimalDigitsWithoutTrailingZeros
Deprecated.This API is ICU internal only. -
getIntegerValue
Deprecated.This API is ICU internal only. -
isHasIntegerValue
Deprecated.This API is ICU internal only.Description copied from interface:PluralRules.IFixedDecimal
Whether the number has no nonzero fraction digits.- Specified by:
isHasIntegerValue
in interfacePluralRules.IFixedDecimal
-
isNegative
Deprecated.This API is ICU internal only. -
getBaseFactor
Deprecated.This API is ICU internal only. -
createWithExponent
Deprecated.This API is ICU internal only. -
decimals
Deprecated.This API is ICU internal only.Return a guess as to the number of decimals that would be displayed. This is only a guess; callers should always supply the decimals explicitly if possible. Currently, it is up to 6 decimals (without trailing zeros). Returns 0 for infinities and nans. -
getPluralOperand
Deprecated.This API is ICU internal only.Returns the value corresponding to the specified operand (n, i, f, t, v, or w). If the operand is 'n', returns a double; otherwise, returns an integer.- Specified by:
getPluralOperand
in interfacePluralRules.IFixedDecimal
-
getOperand
Deprecated.This API is ICU internal only. -
compareTo
Deprecated.This API is ICU internal only.We're not going to care about NaN.- Specified by:
compareTo
in interfaceComparable<PluralRules.FixedDecimal>
-
equals
Deprecated.This API is ICU internal only. -
hashCode
Deprecated.This API is ICU internal only. -
toString
Deprecated.This API is ICU internal only. -
hasIntegerValue
Deprecated.This API is ICU internal only. -
intValue
Deprecated.This API is ICU internal only. -
longValue
Deprecated.This API is ICU internal only. -
floatValue
Deprecated.This API is ICU internal only.- Specified by:
floatValue
in classNumber
-
doubleValue
Deprecated.This API is ICU internal only.- Specified by:
doubleValue
in classNumber
-
isNaN
Deprecated.This API is ICU internal only.- Specified by:
isNaN
in interfacePluralRules.IFixedDecimal
-
isInfinite
Deprecated.This API is ICU internal only.- Specified by:
isInfinite
in interfacePluralRules.IFixedDecimal
-