Home
last modified time | relevance | path

Searched refs:ReplacementRule (Results 1 – 2 of 2) sorted by relevance

/external/cldr/tools/java/org/unicode/cldr/util/
DLsrvCanonicalizer.java186 public static class ReplacementRule implements Comparable<ReplacementRule> { class in LsrvCanonicalizer
193 …private ReplacementRule(LstrType lstrType, String type, XLanguageTag typeParts, XLanguageTag repla… in ReplacementRule() method in LsrvCanonicalizer.ReplacementRule
203 …static ReplacementRule from(LstrType lstrType, String type, List<String> replacement, String reaso… in from()
216 …return new ReplacementRule(lstrType, type, typeParts, replacementParts, secondaryReplacementSet, r… in from()
220 public int compareTo(ReplacementRule o) { in compareTo()
228 return compareTo((ReplacementRule) obj) == 0; in equals()
259 private Set<ReplacementRule> rules = new TreeSet<>();
263 private void add(ReplacementRule replacementRule) { in add()
283 public XLanguageTag canonicalizeToX(XLanguageTag fromTag, List<ReplacementRule> rulesUsed) { in canonicalizeToX()
290 for (ReplacementRule rule : getRules()) { in canonicalizeToX()
[all …]
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestLsrvCanonicalizer.java13 import org.unicode.cldr.util.LsrvCanonicalizer.ReplacementRule;
49 List<ReplacementRule> rules = new ArrayList<>(); in testAgainstData()