Home
last modified time | relevance | path

Searched refs:EntryComparator (Results 1 - 3 of 3) sorted by relevance

/third_party/skia/src/core/
H A DSkFlattenable.cpp60 struct EntryComparator { struct
78 std::sort(gEntries, gEntries + gCount, EntryComparator()); in Finalize()
94 SkASSERT(std::is_sorted(gEntries, gEntries + gCount, EntryComparator()));
95 auto pair = std::equal_range(gEntries, gEntries + gCount, name, EntryComparator());
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
H A DCounter.java109 private static class EntryComparator<T> implements Comparator<Entry<T>>{ class in Counter
113 public EntryComparator(boolean ascending, Comparator<T> byValue) { in EntryComparator() method in Counter.EntryComparator
132 Set<Entry<T>> count_key = new TreeSet<Entry<T>>(new EntryComparator<T>(ascending, byValue)); in getKeysetSortedByCount()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/collator/
H A DCounter.java112 private static class EntryComparator<T> implements Comparator<Entry<T>>{ class in Counter
116 public EntryComparator(boolean ascending, Comparator<T> byValue) { in EntryComparator() method in Counter.EntryComparator
135 Set<Entry<T>> count_key = new TreeSet<Entry<T>>(new EntryComparator<T>(ascending, byValue)); in getKeysetSortedByCount()

Completed in 2 milliseconds