Home
last modified time | relevance | path

Searched refs:reverseOrder (Results 1 – 15 of 15) 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()
DCollections.java5158 public static <T> Comparator<T> reverseOrder() {
5177 private Object readResolve() { return Collections.reverseOrder(); }
5202 public static <T> Comparator<T> reverseOrder(Comparator<T> cmp) {
5204 return reverseOrder();
DTreeMap.java1955 Collections.reverseOrder(m.comparator);
/libcore/luni/src/test/java/libcore/java/util/
DComparatorTest.java95 Comparator<Item> comparator = Comparator.reverseOrder(); in testReverseOrder()
100 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/luni/src/test/java/libcore/java/text/
DSimpleDateFormatTest.java802 Calendar cal = new NonGregorianCalendarWithTreeMapDisplayNames(Comparator.reverseOrder()); in testMatchStringSortedMap_treeMapWithReverseOrderComparator()
/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/annotations/hiddenapi/java/util/
DCollections.java351 public static <T> java.util.Comparator<T> reverseOrder() { in reverseOrder() method in Collections
355 public static <T> java.util.Comparator<T> reverseOrder(java.util.Comparator<T> cmp) { in reverseOrder() method in Collections
/libcore/ojluni/src/main/java/java/util/concurrent/
DConcurrentSkipListMap.java2909 return Collections.reverseOrder(cmp); in comparator()
/libcore/api/
Dcurrent.txt12652 method @NonNull public static <T> java.util.Comparator<T> reverseOrder();
12653 …method @NonNull public static <T> java.util.Comparator<T> reverseOrder(@Nullable java.util.Compara…
12695 …d public static <T extends java.lang.Comparable<? super T>> java.util.Comparator<T> reverseOrder();