Uses of Class
com.ibm.icu.text.NFSubstitution
Packages that use NFSubstitution
-
Uses of NFSubstitution in com.ibm.icu.text
Subclasses of NFSubstitution in com.ibm.icu.textModifier and TypeClassDescription(package private) class
A substitution that formats the absolute value of the number.(package private) class
A substitution that formats the fractional part of a number.(package private) class
A substitution that formats the number's integral part.(package private) class
A substitution that divides the number being formatted by the its rule's divisor and formats the remainder.(package private) class
A substitution that divides the number being formatted by the rule's divisor and formats the quotient.(package private) class
A substitution that multiplies the number being formatted (which is between 0 and 1) by the base value of the rule that owns it and formats the result.(package private) class
A substitution that passes the value passed to it through unchanged.Fields in com.ibm.icu.text declared as NFSubstitutionModifier and TypeFieldDescriptionprivate NFSubstitution
NFRule.sub1
The rule's first substitution (the one with the lower offset into the rule text)private NFSubstitution
NFRule.sub2
The rule's second substitution (the one with the higher offset into the rule text)Methods in com.ibm.icu.text that return NFSubstitutionModifier and TypeMethodDescriptionprivate NFSubstitution
NFRule.extractSubstitution
(NFRuleSet owner, NFRule predecessor) Searches the rule's rule text for the first substitution token, creates a substitution based on it, and removes the token from the rule's rule text.static NFSubstitution
NFSubstitution.makeSubstitution
(int pos, NFRule rule, NFRule rulePredecessor, NFRuleSet ruleSet, RuleBasedNumberFormat formatter, String description) Parses the description, creates the right kind of substitution, and initializes it based on the description.Methods in com.ibm.icu.text with parameters of type NFSubstitutionModifier and TypeMethodDescriptionprivate Number
NFRule.matchToDelimiter
(String text, int startPos, double baseVal, String delimiter, PluralFormat pluralFormatDelimiter, ParsePosition pp, NFSubstitution sub, double upperBound, int nonNumericalExecutedRuleMask, int recursionCount) Used by parse() to match a substitution and any following text.