Package com.ibm.icu.text
Class MessageFormat.PluralSelectorContext
- java.lang.Object
-
- com.ibm.icu.text.MessageFormat.PluralSelectorContext
-
- Enclosing class:
- MessageFormat
private static final class MessageFormat.PluralSelectorContext extends java.lang.Object
Mutable input/output values for the PluralSelectorProvider. Separate so that it is possible to make MessageFormat Freezable.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.lang.String
argName
(package private) java.text.Format
formatter
(package private) boolean
forReplaceNumber
true if number-offset was formatted with the stock number formatter(package private) java.lang.Number
number
argument number - plural offset(package private) int
numberArgIndex
-1 if REPLACE_NUMBER, 0 arg not found, >0 ARG_START index(package private) java.lang.String
numberString
formatted argument number - plural offset(package private) double
offset
(package private) int
startIndex
-
Constructor Summary
Constructors Modifier Constructor Description private
PluralSelectorContext(int start, java.lang.String name, java.lang.Number num, double off)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
-
-
-
Field Detail
-
startIndex
int startIndex
-
argName
java.lang.String argName
-
number
java.lang.Number number
argument number - plural offset
-
offset
double offset
-
numberArgIndex
int numberArgIndex
-1 if REPLACE_NUMBER, 0 arg not found, >0 ARG_START index
-
formatter
java.text.Format formatter
-
numberString
java.lang.String numberString
formatted argument number - plural offset
-
forReplaceNumber
boolean forReplaceNumber
true if number-offset was formatted with the stock number formatter
-
-