Home
last modified time | relevance | path

Searched refs:reverseOrder (Results 1 – 25 of 60) sorted by relevance

123

/external/guava/guava-tests/test/com/google/common/collect/
DTreeBasedTableTest.java154 table = TreeBasedTable.create(Collections.reverseOrder(), Ordering.usingToString()); in testCreateExplicitComparators()
165 TreeBasedTable.create(Collections.reverseOrder(), Ordering.usingToString()); in testCreateCopy()
207 sortedTable = TreeBasedTable.create(Collections.reverseOrder(), Ordering.usingToString()); in testRowComparator()
208 assertSame(Collections.reverseOrder(), sortedTable.rowComparator()); in testRowComparator()
220 sortedTable = TreeBasedTable.create(Collections.reverseOrder(), Ordering.usingToString()); in testColumnComparator()
233 sortedTable = TreeBasedTable.create(Collections.reverseOrder(), Ordering.usingToString()); in testRowKeySetComparator()
234 assertSame(Collections.reverseOrder(), sortedTable.rowKeySet().comparator()); in testRowKeySetComparator()
278 sortedTable = TreeBasedTable.create(Collections.reverseOrder(), Ordering.usingToString()); in testRowMapComparator()
279 assertSame(Collections.reverseOrder(), sortedTable.rowMap().comparator()); in testRowMapComparator()
DImmutableSetMultimapTest.java265 builder.orderKeysBy(Collections.reverseOrder()); in testBuilderOrderKeysBy()
309 builder.orderValuesBy(Collections.reverseOrder()); in testBuilderOrderValuesBy()
320 Collections.reverseOrder(), ((ImmutableSortedSet<Integer>) multimap.get("a")).comparator()); in testBuilderOrderValuesBy()
323 Collections.reverseOrder(), ((ImmutableSortedSet<Integer>) multimap.get("x")).comparator()); in testBuilderOrderValuesBy()
326 Collections.reverseOrder(), in testBuilderOrderValuesBy()
335 builder.orderKeysBy(Collections.reverseOrder()); in testBuilderOrderKeysAndValuesBy()
336 builder.orderValuesBy(Collections.reverseOrder()); in testBuilderOrderKeysAndValuesBy()
347 Collections.reverseOrder(), ((ImmutableSortedSet<Integer>) multimap.get("a")).comparator()); in testBuilderOrderKeysAndValuesBy()
350 Collections.reverseOrder(), ((ImmutableSortedSet<Integer>) multimap.get("x")).comparator()); in testBuilderOrderKeysAndValuesBy()
353 Collections.reverseOrder(), in testBuilderOrderKeysAndValuesBy()
DComparatorsTest.java135 Comparator<Integer> reverse = Collections.reverseOrder(natural); in testMinMaxComparator()
144 Comparator<Foo> reverse = Collections.reverseOrder(natural); in testMinMaxComparator_equalInstances()
DImmutableListMultimapTest.java277 builder.orderKeysBy(Collections.reverseOrder()); in testBuilderOrderKeysBy()
315 builder.orderValuesBy(Collections.reverseOrder()); in testBuilderOrderValuesBy()
331 builder.orderKeysBy(Collections.reverseOrder()); in testBuilderOrderKeysAndValuesBy()
332 builder.orderValuesBy(Collections.reverseOrder()); in testBuilderOrderKeysAndValuesBy()
DImmutableSortedSetTest.java854 Comparator<Comparable<?>> comparator = Collections.reverseOrder(); in testContainsAll_differentComparator()
879 SortedSet<String> set = ImmutableSortedSet.<String>reverseOrder().add("a", "b", "c").build(); in testReverseOrder()
958 ImmutableSortedSet.<LegacyComparable>reverseOrder(); in testLegacyComparable_builder_reverse()
1195 ImmutableSortedSet.Builder<SelfComparableExample> reverse = ImmutableSortedSet.reverseOrder(); in testBuilderGenerics_SelfComparable()
1205 ImmutableSortedSet.Builder<SuperComparableExample> reverse = ImmutableSortedSet.reverseOrder(); in testBuilderGenerics_SuperComparable()
/external/guava/android/guava-tests/test/com/google/common/collect/
DTreeBasedTableTest.java154 table = TreeBasedTable.create(Collections.reverseOrder(), Ordering.usingToString()); in testCreateExplicitComparators()
165 TreeBasedTable.create(Collections.reverseOrder(), Ordering.usingToString()); in testCreateCopy()
207 sortedTable = TreeBasedTable.create(Collections.reverseOrder(), Ordering.usingToString()); in testRowComparator()
208 assertSame(Collections.reverseOrder(), sortedTable.rowComparator()); in testRowComparator()
220 sortedTable = TreeBasedTable.create(Collections.reverseOrder(), Ordering.usingToString()); in testColumnComparator()
233 sortedTable = TreeBasedTable.create(Collections.reverseOrder(), Ordering.usingToString()); in testRowKeySetComparator()
234 assertSame(Collections.reverseOrder(), sortedTable.rowKeySet().comparator()); in testRowKeySetComparator()
278 sortedTable = TreeBasedTable.create(Collections.reverseOrder(), Ordering.usingToString()); in testRowMapComparator()
279 assertSame(Collections.reverseOrder(), sortedTable.rowMap().comparator()); in testRowMapComparator()
DImmutableSetMultimapTest.java260 builder.orderKeysBy(Collections.reverseOrder()); in testBuilderOrderKeysBy()
304 builder.orderValuesBy(Collections.reverseOrder()); in testBuilderOrderValuesBy()
315 Collections.reverseOrder(), ((ImmutableSortedSet<Integer>) multimap.get("a")).comparator()); in testBuilderOrderValuesBy()
318 Collections.reverseOrder(), ((ImmutableSortedSet<Integer>) multimap.get("x")).comparator()); in testBuilderOrderValuesBy()
321 Collections.reverseOrder(), in testBuilderOrderValuesBy()
330 builder.orderKeysBy(Collections.reverseOrder()); in testBuilderOrderKeysAndValuesBy()
331 builder.orderValuesBy(Collections.reverseOrder()); in testBuilderOrderKeysAndValuesBy()
342 Collections.reverseOrder(), ((ImmutableSortedSet<Integer>) multimap.get("a")).comparator()); in testBuilderOrderKeysAndValuesBy()
345 Collections.reverseOrder(), ((ImmutableSortedSet<Integer>) multimap.get("x")).comparator()); in testBuilderOrderKeysAndValuesBy()
348 Collections.reverseOrder(), in testBuilderOrderKeysAndValuesBy()
DComparatorsTest.java92 Comparator<Integer> reverse = Collections.reverseOrder(natural); in testMinMaxComparator()
101 Comparator<Foo> reverse = Collections.reverseOrder(natural); in testMinMaxComparator_equalInstances()
DImmutableListMultimapTest.java272 builder.orderKeysBy(Collections.reverseOrder()); in testBuilderOrderKeysBy()
310 builder.orderValuesBy(Collections.reverseOrder()); in testBuilderOrderValuesBy()
326 builder.orderKeysBy(Collections.reverseOrder()); in testBuilderOrderKeysAndValuesBy()
327 builder.orderValuesBy(Collections.reverseOrder()); in testBuilderOrderKeysAndValuesBy()
DImmutableSortedSetTest.java804 Comparator<Comparable<?>> comparator = Collections.reverseOrder(); in testContainsAll_differentComparator()
829 SortedSet<String> set = ImmutableSortedSet.<String>reverseOrder().add("a", "b", "c").build(); in testReverseOrder()
908 ImmutableSortedSet.<LegacyComparable>reverseOrder(); in testLegacyComparable_builder_reverse()
1143 ImmutableSortedSet.Builder<SelfComparableExample> reverse = ImmutableSortedSet.reverseOrder(); in testBuilderGenerics_SelfComparable()
1153 ImmutableSortedSet.Builder<SuperComparableExample> reverse = ImmutableSortedSet.reverseOrder(); in testBuilderGenerics_SuperComparable()
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/test/
DDateOrder.java124 DateOrder reverseOrder = new DateOrder(thisOrder.etype2, thisOrder.etype1); in getOrderingInfo() local
125 Set<String> reverseSet = pairCount.get(reverseOrder); in getOrderingInfo()
126 … DateOrder sample = thisOrder.compareTo(reverseOrder) < 0 ? thisOrder : reverseOrder; in getOrderingInfo()
132 alreadySeen.add(reverseOrder); in getOrderingInfo()
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
DSetGenerators.java178 return ImmutableSortedSet.<String>reverseOrder().add(elements).build().descendingSet(); in create()
184 private static final Comparator<String> STRING_REVERSED = Collections.reverseOrder();
193 Collections.sort(insertionOrder, Collections.reverseOrder()); in order()
201 private static final Comparator<Comparable<?>> COMPARABLE_REVERSED = Collections.reverseOrder();
210 Collections.sort(insertionOrder, Collections.reverseOrder()); in order()
219 return ImmutableSortedSet.<String>reverseOrder() in create()
226 Collections.sort(insertionOrder, Collections.reverseOrder()); in order()
/external/guava/android/guava-testlib/src/com/google/common/collect/testing/google/
DSetGenerators.java178 return ImmutableSortedSet.<String>reverseOrder().add(elements).build().descendingSet(); in create()
184 private static final Comparator<String> STRING_REVERSED = Collections.reverseOrder();
193 Collections.sort(insertionOrder, Collections.reverseOrder()); in order()
201 private static final Comparator<Comparable<?>> COMPARABLE_REVERSED = Collections.reverseOrder();
210 Collections.sort(insertionOrder, Collections.reverseOrder()); in order()
219 return ImmutableSortedSet.<String>reverseOrder() in create()
226 Collections.sort(insertionOrder, Collections.reverseOrder()); in order()
/external/fonttools/Lib/fontTools/ttLib/tables/
D_k_e_r_n.py174 reverseOrder = ttFont.getReverseGlyphMap()
176 (reverseOrder[left], reverseOrder[right], value)
/external/robolectric/utils/src/main/java/org/robolectric/util/inject/
DPluginFinder.java3 import static java.util.Collections.reverseOrder;
168 Comparator<Class<? extends T>> c = reverseOrder(comparing(PluginFinder::priority)); in prioritize()
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/common/src/main/java/com/google/android/exoplayer2/util/
DPriorityTaskManager.java49 queue = new PriorityQueue<>(10, Collections.reverseOrder()); in PriorityTaskManager()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/common/src/main/java/com/google/android/exoplayer2/util/
DPriorityTaskManager.java49 queue = new PriorityQueue<>(10, Collections.reverseOrder()); in PriorityTaskManager()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue60/
DCustomOrderTest.java50 Set<Property> result = new TreeSet<Property>(Collections.reverseOrder()); in createPropertySet()
/external/jazzer-api/bazel/tools/java/com/code_intelligence/jazzer/tools/
DJarStripper.java83 walk.sorted(Comparator.reverseOrder()).collect(Collectors.toList()); in main()
/external/dng_sdk/source/
Ddng_camera_profile.cpp1180 bool reverseOrder = temperature1 > temperature2; in HueSatMapForWhite() local
1182 if (reverseOrder) in HueSatMapForWhite()
1215 if (reverseOrder) in HueSatMapForWhite()
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DServiceProviders.java75 Collections.sort(list, Collections.reverseOrder(new Comparator<T>() { in loadAll()
/external/kotlinx.coroutines/benchmarks/src/jmh/kotlin/benchmarks/flow/scrabble/
DSaneFlowPlaysScrabble.kt33 .fold(TreeMap<Int, List<String>>(Collections.reverseOrder())) { acc, value -> in <lambda>()
DSequencePlaysScrabble.kt45 .fold(TreeMap<Int, List<String>>(Collections.reverseOrder())) { acc, value -> in <lambda>()
DFlowPlaysScrabbleBase.kt113 .fold(TreeMap<Int, List<String>>(Collections.reverseOrder())) { acc, value -> in <lambda>()
/external/guava/android/guava/src/com/google/common/collect/
DImmutableSortedSet.java387 public static <E extends Comparable<?>> Builder<E> reverseOrder() { in reverseOrder() method in ImmutableSortedSet
388 return new Builder<E>(Collections.reverseOrder()); in reverseOrder()

123