Searched refs:backupOrdering (Results 1 – 1 of 1) sorted by relevance
44 private Comparator<T> backupOrdering; field in DiscreteComparator46 private DiscreteComparator(Map<T, Integer> ordering, Comparator<T> backupOrdering) { in DiscreteComparator() argument47 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.Builder135 public Builder<T> setFallbackComparator(Comparator<T> backupOrdering) { in setFallbackComparator() argument136 this.backupOrdering = backupOrdering; in setFallbackComparator()256 return new DiscreteComparator<T>(ordering, backupOrdering); in get()