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 NFRuleRuleBasedNumberFormat.defaultInfinityRuleThe rule used when dealing with infinity.private NFRuleRuleBasedNumberFormat.defaultNaNRuleThe rule used when dealing with IEEE 754 NaN.(package private) final NFRule[]NFRuleSet.nonNumericalRulesThe rule set's non-numerical rules like negative, fractions, infinity and NaN(package private) NFRuleMultiplierSubstitution.owningRuleA backpointer to the owning rule.private NFRule[]NFRuleSet.rulesThe rule set's regular rulesprivate final NFRuleModulusSubstitution.ruleToUseIf 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.fractionRulesThese are a pile of fraction rules in declared order.Methods in com.ibm.icu.text that return NFRuleModifier and TypeMethodDescriptionprivate NFRuleNFRuleSet.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 NFRuleNFRuleSet.findNormalRule(long number) If the value passed to findRule() is a positive integer, findRule() uses this function to select the appropriate rule.(package private) NFRuleNFRuleSet.findRule(double number) Selects an appropriate rule for formatting the number.(package private) NFRuleRuleBasedNumberFormat.getDefaultInfinityRule()Returns the default rule for infinity.(package private) NFRuleRuleBasedNumberFormat.getDefaultNaNRule()Returns the default rule for NaN.Methods in com.ibm.icu.text with parameters of type NFRuleModifier and TypeMethodDescriptionprivate NFSubstitutionNFRule.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 voidNFRule.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 voidNFRule.makeRules(String description, NFRuleSet owner, NFRule predecessor, RuleBasedNumberFormat ownersOwner, List<NFRule> returnList) Creates one or more rules based on the description passed in.static NFSubstitutionNFSubstitution.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 voidNFRuleSet.setBestFractionRule(int originalIndex, NFRule newRule, boolean rememberRule) Determine the best fraction rule to use.(package private) voidNFRuleSet.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 voidNFRule.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.