Class PluralRules.FixedDecimal
java.lang.Object
java.lang.Number
org.graalvm.shadowed.com.ibm.icu.text.PluralRules.FixedDecimal
- All Implemented Interfaces:
Serializable,Comparable<PluralRules.FixedDecimal>,PluralRules.IFixedDecimal
- 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 TypeMethodDescriptionintDeprecated.This API is ICU internal only.static PluralRules.FixedDecimalcreateWithExponent(double n, int v, int e) Deprecated.This API is ICU internal only.static intdecimals(double n) Deprecated.This API is ICU internal only.doubleDeprecated.This API is ICU internal only.booleanDeprecated.This API is ICU internal only.floatDeprecated.This API is ICU internal only.intDeprecated.This API is ICU internal only.longDeprecated.This API is ICU internal only.longDeprecated.This API is ICU internal only.longDeprecated.This API is ICU internal only.static PluralRules.OperandgetOperand(String t) Deprecated.This API is ICU internal only.doublegetPluralOperand(PluralRules.Operand operand) Deprecated.This API is ICU internal only.doubleDeprecated.This API is ICU internal only.intDeprecated.This API is ICU internal only.intDeprecated.This API is ICU internal only.inthashCode()Deprecated.This API is ICU internal only.booleanDeprecated.This API is ICU internal only.intintValue()Deprecated.This API is ICU internal only.booleanDeprecated.This API is ICU internal only.booleanDeprecated.This API is ICU internal only.booleanisNaN()Deprecated.This API is ICU internal only.booleanDeprecated.This API is ICU internal only.longDeprecated.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.IFixedDecimalWhether the number has no nonzero fraction digits.- Specified by:
isHasIntegerValuein 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:
getPluralOperandin 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:
compareToin 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:
floatValuein classNumber
-
doubleValue
Deprecated.This API is ICU internal only.- Specified by:
doubleValuein classNumber
-
isNaN
Deprecated.This API is ICU internal only.- Specified by:
isNaNin interfacePluralRules.IFixedDecimal
-
isInfinite
Deprecated.This API is ICU internal only.- Specified by:
isInfinitein interfacePluralRules.IFixedDecimal
-