Home
last modified time | relevance | path

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

/external/cldr/tools/java/org/unicode/cldr/util/
DDiscreteComparator.java44 private Comparator<T> backupOrdering; field in DiscreteComparator
46 private DiscreteComparator(Map<T, Integer> ordering, Comparator<T> backupOrdering) { in DiscreteComparator() argument
47 this.backupOrdering = backupOrdering; in DiscreteComparator()
72 if (backupOrdering != null) { in compare()
74 return backupOrdering.compare(o1, o2); in compare()
81 if (backupOrdering != null) { in compare()
114 private Comparator<T> backupOrdering; field in DiscreteComparator.Builder
135 public Builder<T> setFallbackComparator(Comparator<T> backupOrdering) { in setFallbackComparator() argument
136 this.backupOrdering = backupOrdering; in setFallbackComparator()
256 return new DiscreteComparator<T>(ordering, backupOrdering); in get()