Uses of Class
com.ibm.icu.text.NFSubstitution
-
Packages that use NFSubstitution Package Description com.ibm.icu.text Extensions and enhancements to java.text to support unicode transforms, UnicodeSet, surrogate char utilities, UCA collation, normalization, break iteration (rule and dictionary based), enhanced number format, international string searching, and arabic shaping. -
-
Uses of NFSubstitution in com.ibm.icu.text
Subclasses of NFSubstitution in com.ibm.icu.text Modifier and Type Class Description (package private) class
AbsoluteValueSubstitution
A substitution that formats the absolute value of the number.(package private) class
FractionalPartSubstitution
A substitution that formats the fractional part of a number.(package private) class
IntegralPartSubstitution
A substitution that formats the number's integral part.(package private) class
ModulusSubstitution
A substitution that divides the number being formatted by the its rule's divisor and formats the remainder.(package private) class
MultiplierSubstitution
A substitution that divides the number being formatted by the rule's divisor and formats the quotient.(package private) class
NumeratorSubstitution
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
SameValueSubstitution
A substitution that passes the value passed to it through unchanged.Fields in com.ibm.icu.text declared as NFSubstitution Modifier and Type Field Description private 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 NFSubstitution Modifier and Type Method Description private 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, java.lang.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 NFSubstitution Modifier and Type Method Description private java.lang.Number
NFRule. matchToDelimiter(java.lang.String text, int startPos, double baseVal, java.lang.String delimiter, PluralFormat pluralFormatDelimiter, java.text.ParsePosition pp, NFSubstitution sub, double upperBound, int nonNumericalExecutedRuleMask)
Used by parse() to match a substitution and any following text.
-