Uses of Class
com.ibm.icu.text.NFRule
Packages that use NFRule
-
Uses of NFRule in com.ibm.icu.text
Fields in com.ibm.icu.text declared as NFRuleModifier and TypeFieldDescriptionprivate NFRule
RuleBasedNumberFormat.defaultInfinityRule
The rule used when dealing with infinity.private NFRule
RuleBasedNumberFormat.defaultNaNRule
The rule used when dealing with IEEE 754 NaN.(package private) final NFRule[]
NFRuleSet.nonNumericalRules
The rule set's non-numerical rules like negative, fractions, infinity and NaN(package private) NFRule
MultiplierSubstitution.owningRule
A backpointer to the owning rule.private NFRule[]
NFRuleSet.rules
The rule set's regular rulesprivate final NFRule
ModulusSubstitution.ruleToUse
If this is a >>> substitution, the rule to use to format the substitution value.Fields in com.ibm.icu.text with type parameters of type NFRuleModifier and TypeFieldDescription(package private) LinkedList
<NFRule> NFRuleSet.fractionRules
These are a pile of fraction rules in declared order.Methods in com.ibm.icu.text that return NFRuleModifier and TypeMethodDescriptionprivate NFRule
NFRuleSet.findFractionRuleSetRule
(double number) If this rule is a fraction rule set, this function is used by findRule() to select the most appropriate rule for formatting the number.private NFRule
NFRuleSet.findNormalRule
(long number) If the value passed to findRule() is a positive integer, findRule() uses this function to select the appropriate rule.(package private) NFRule
NFRuleSet.findRule
(double number) Selects an appropriate rule for formatting the number.(package private) NFRule
RuleBasedNumberFormat.getDefaultInfinityRule()
Returns the default rule for infinity.(package private) NFRule
RuleBasedNumberFormat.getDefaultNaNRule()
Returns the default rule for NaN.Methods in com.ibm.icu.text with parameters of type NFRuleModifier 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.private void
NFRule.extractSubstitutions
(NFRuleSet owner, String ruleText, NFRule predecessor) Searches the rule's rule text for the substitution tokens, creates the substitutions, and removes the substitution tokens from the rule's rule text.static void
NFRule.makeRules
(String description, NFRuleSet owner, NFRule predecessor, RuleBasedNumberFormat ownersOwner, List<NFRule> returnList) Creates one or more rules based on the description passed in.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.private void
NFRuleSet.setBestFractionRule
(int originalIndex, NFRule newRule, boolean rememberRule) Determine the best fraction rule to use.(package private) void
NFRuleSet.setNonNumericalRule
(NFRule rule) Set one of the non-numerical rules.Method parameters in com.ibm.icu.text with type arguments of type NFRuleModifier and TypeMethodDescriptionstatic void
NFRule.makeRules
(String description, NFRuleSet owner, NFRule predecessor, RuleBasedNumberFormat ownersOwner, List<NFRule> returnList) Creates one or more rules based on the description passed in.Constructors in com.ibm.icu.text with parameters of type NFRuleModifierConstructorDescription(package private)
ModulusSubstitution
(int pos, NFRule rule, NFRule rulePredecessor, NFRuleSet ruleSet, String description) Constructs a ModulusSubstitution.(package private)
MultiplierSubstitution
(int pos, NFRule rule, NFRuleSet ruleSet, String description) Constructs a MultiplierSubstitution.