Searched refs:elementComparator (Results 1 – 2 of 2) sorted by relevance
114 public static <T> int compareAsList(@Nonnull Comparator<? super T> elementComparator, in compareAsList() argument121 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 …]
47 private MapComparator<String> elementComparator; field in DtdData699 … elementComparator = new MapComparator<String>(elementList).setErrorOnMissing(true).freeze(); in freeze()821 return elementComparator; in getElementComparator()