Home
last modified time | relevance | path

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

123

/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.java259 builder.orderKeysBy(Collections.reverseOrder()); in testBuilderOrderKeysBy()
303 builder.orderValuesBy(Collections.reverseOrder()); in testBuilderOrderValuesBy()
314 Collections.reverseOrder(), ((ImmutableSortedSet<Integer>) multimap.get("a")).comparator()); in testBuilderOrderValuesBy()
317 Collections.reverseOrder(), ((ImmutableSortedSet<Integer>) multimap.get("x")).comparator()); in testBuilderOrderValuesBy()
320 Collections.reverseOrder(), in testBuilderOrderValuesBy()
329 builder.orderKeysBy(Collections.reverseOrder()); in testBuilderOrderKeysAndValuesBy()
330 builder.orderValuesBy(Collections.reverseOrder()); in testBuilderOrderKeysAndValuesBy()
341 Collections.reverseOrder(), ((ImmutableSortedSet<Integer>) multimap.get("a")).comparator()); in testBuilderOrderKeysAndValuesBy()
344 Collections.reverseOrder(), ((ImmutableSortedSet<Integer>) multimap.get("x")).comparator()); in testBuilderOrderKeysAndValuesBy()
347 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.java271 builder.orderKeysBy(Collections.reverseOrder()); in testBuilderOrderKeysBy()
309 builder.orderValuesBy(Collections.reverseOrder()); in testBuilderOrderValuesBy()
325 builder.orderKeysBy(Collections.reverseOrder()); in testBuilderOrderKeysAndValuesBy()
326 builder.orderValuesBy(Collections.reverseOrder()); in testBuilderOrderKeysAndValuesBy()
DImmutableSortedSetTest.java780 Comparator<Comparable<?>> comparator = Collections.reverseOrder(); in testContainsAll_differentComparator()
805 SortedSet<String> set = ImmutableSortedSet.<String>reverseOrder().add("a", "b", "c").build(); in testReverseOrder()
884 ImmutableSortedSet.<LegacyComparable>reverseOrder(); in testLegacyComparable_builder_reverse()
1119 ImmutableSortedSet.Builder<SelfComparableExample> reverse = ImmutableSortedSet.reverseOrder(); in testBuilderGenerics_SelfComparable()
1129 ImmutableSortedSet.Builder<SuperComparableExample> reverse = ImmutableSortedSet.reverseOrder(); in testBuilderGenerics_SuperComparable()
/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.java264 builder.orderKeysBy(Collections.reverseOrder()); in testBuilderOrderKeysBy()
308 builder.orderValuesBy(Collections.reverseOrder()); in testBuilderOrderValuesBy()
319 Collections.reverseOrder(), ((ImmutableSortedSet<Integer>) multimap.get("a")).comparator()); in testBuilderOrderValuesBy()
322 Collections.reverseOrder(), ((ImmutableSortedSet<Integer>) multimap.get("x")).comparator()); in testBuilderOrderValuesBy()
325 Collections.reverseOrder(), in testBuilderOrderValuesBy()
334 builder.orderKeysBy(Collections.reverseOrder()); in testBuilderOrderKeysAndValuesBy()
335 builder.orderValuesBy(Collections.reverseOrder()); in testBuilderOrderKeysAndValuesBy()
346 Collections.reverseOrder(), ((ImmutableSortedSet<Integer>) multimap.get("a")).comparator()); in testBuilderOrderKeysAndValuesBy()
349 Collections.reverseOrder(), ((ImmutableSortedSet<Integer>) multimap.get("x")).comparator()); in testBuilderOrderKeysAndValuesBy()
352 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.java276 builder.orderKeysBy(Collections.reverseOrder()); in testBuilderOrderKeysBy()
314 builder.orderValuesBy(Collections.reverseOrder()); in testBuilderOrderValuesBy()
330 builder.orderKeysBy(Collections.reverseOrder()); in testBuilderOrderKeysAndValuesBy()
331 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/cldr/tools/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.py172 reverseOrder = ttFont.getReverseGlyphMap()
174 (reverseOrder[left], reverseOrder[right], value)
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/util/
DPriorityTaskManager.java50 queue = new PriorityQueue<>(10, Collections.reverseOrder()); in PriorityTaskManager()
/external/cldr/tools/java/org/unicode/cldr/util/
DVariableReplacer.java16 private Map m = new TreeMap(Collections.reverseOrder());
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue60/
DCustomOrderTest.java50 Set<Property> result = new TreeSet<Property>(Collections.reverseOrder()); in createPropertySet()
/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.java380 public static <E extends Comparable<?>> Builder<E> reverseOrder() { in reverseOrder() method in ImmutableSortedSet
381 return new Builder<E>(Collections.reverseOrder()); in reverseOrder()
/external/icu/android_icu4j/src/main/java/android/icu/impl/units/
DComplexUnitsConverter.java58 … Collections.reverseOrder(new MeasureUnitImpl.MeasureUnitImplComparator(conversionRates))); in ComplexUnitsConverter()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/units/
DComplexUnitsConverter.java56 … Collections.reverseOrder(new MeasureUnitImpl.MeasureUnitImplComparator(conversionRates))); in ComplexUnitsConverter()

123