Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/
DComparator.java185 return Collections.reverseOrder(this); in reversed()
338 public static <T extends Comparable<? super T>> Comparator<T> reverseOrder() { in reverseOrder() method
339 return Collections.reverseOrder(); in reverseOrder()
DComparators.java57 return Comparator.reverseOrder(); in reversed()
DTreeMap.java1955 Collections.reverseOrder(m.comparator);
/libcore/luni/src/test/java/libcore/java/util/
DComparatorTest.java88 Comparator<Item> comparator = Comparator.reverseOrder(); in testReverseOrder()
93 Comparator<Item> revComparator = Comparator.reverseOrder(); in testReverse()
DOldCollectionsTest.java311 Comparator<String> roc = Collections.reverseOrder(); in test_reverseOrder()
329 .reverseOrder(String.CASE_INSENSITIVE_ORDER); in test_reverseOrderLjava_util_Comparator()
341 roc = Collections.reverseOrder(null); in test_reverseOrderLjava_util_Comparator()
DCollectionsTest.java1080 List<K> reverseOrder = new ArrayList<>(expectedElementsInOrder); in check_navigableSet() local
1081 Collections.reverse(reverseOrder); in check_navigableSet()
1082 check_orderedSet(set.descendingSet(), reverseOrder); in check_navigableSet() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DCollections2Test.java284 Comparator<String> roc = Collections.reverseOrder(); in test_reverseOrder()
302 .reverseOrder(String.CASE_INSENSITIVE_ORDER); in test_reverseOrderLjava_util_Comparator()
314 roc = Collections.reverseOrder(null); in test_reverseOrderLjava_util_Comparator()
DCollectionsTest.java572 Comparator comp = Collections.reverseOrder(); in test_reverseOrder()
/libcore/ojluni/annotations/sdk/nullability/java/util/
DCollections.annotated.java152 @libcore.util.NonNull public static <T> java.util.Comparator<@libcore.util.NonNull T> reverseOrder(… in reverseOrder() method in Collections
154 …ic static <T> java.util.Comparator<@libcore.util.NullFromTypeParam T> reverseOrder(@libcore.util.N… in reverseOrder() method in Collections
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DSerializationStressTest4.java909 objToSave = java.util.Collections.reverseOrder(); in test_writeObject_Collections_ReverseComparator()
/libcore/ojluni/src/main/java/java/util/concurrent/
DConcurrentSkipListMap.java2909 return Collections.reverseOrder(cmp); in comparator()