Home
last modified time | relevance | path

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

/external/smali/util/src/main/java/org/jf/util/
DCollectionUtils.java114 public static <T> int compareAsList(@Nonnull Comparator<? super T> elementComparator, in compareAsList() argument
121 res = elementComparator.compare(element1, elements2.next()); in compareAsList()
129 @Nonnull final Comparator<? super T> elementComparator) { in listComparator()
133 return compareAsList(elementComparator, list1, list2); in listComparator()
147 public static <T> boolean isSortedSet(@Nonnull Comparator<? extends T> elementComparator,
153 return elementComparator.equals(Ordering.natural());
155 return elementComparator.equals(comparator);
169 …ate static <T> SortedSet<? extends T> toSortedSet(@Nonnull Comparator<? super T> elementComparator,
174 if (comparator != null && comparator.equals(elementComparator)) {
178 return ImmutableSortedSet.copyOf(elementComparator, collection);
[all …]
/external/cldr/tools/java/org/unicode/cldr/util/
DDtdData.java47 private MapComparator<String> elementComparator; field in DtdData
699elementComparator = new MapComparator<String>(elementList).setErrorOnMissing(true).freeze(); in freeze()
821 return elementComparator; in getElementComparator()