/libcore/luni/src/test/java/libcore/java/util/ |
D | ComparatorTest.java | 48 private <T> void checkComparison(Comparator<T> comparator, List<T> items) { in checkComparison() 60 Comparator<Item> comparator = Comparator.comparingDouble(Item::getOrderAsDouble); in testComparingDouble() local 65 Comparator<Item> comparator = Comparator.comparingInt(Item::getOrderAsInt); in testComparingInt() local 70 Comparator<Item> comparator = Comparator.comparingLong(Item::getOrderAsLong); in testComparingLong() local 75 Comparator<Item> comparator = Comparator.comparing(Item::getOrderAsString); in testComparing() local 80 Comparator<Item> comparator = Comparator.comparing(Item::getOrderAsString, in testComparing2() local 86 Comparator<Item> comparator = Comparator.naturalOrder(); in testNaturalOrder() local 95 Comparator<Item> comparator = Comparator.reverseOrder(); in testReverseOrder() local 107 Comparator<Item> comparator = Comparator.naturalOrder(); in testReverse2() local 112 Comparator<Item> comparator = Comparator.comparing(Item::getOrderAsString); in testReverse3() local [all …]
|
D | SpliteratorTester.java | 62 List<T> expectedElements, Comparator<T> comparator) { in runBasicIterationTests_unordered() 118 List<T> expectedElements, Comparator<T> comparator) { in runBasicSplitTests() 174 List<T> expectedElements, Comparator<T> comparator) { in runBasicSplitTests() 175 runBasicSplitTests(spliterable.spliterator(), expectedElements, comparator); in runBasicSplitTests() local 306 public static <T> void runSortedTests(Iterable<T> spliterable, Comparator<T> comparator) { in runSortedTests()
|
/libcore/ojluni/src/main/java/java/util/function/ |
D | BinaryOperator.java | 57 public static <T> BinaryOperator<T> minBy(Comparator<? super T> comparator) { in minBy() 72 public static <T> BinaryOperator<T> maxBy(Comparator<? super T> comparator) { in maxBy()
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/ |
D | HttpRetryExceptionTest.java | 35 private static final SerializableAssert comparator = new SerializableAssert() { field in HttpRetryExceptionTest
|
/libcore/support/src/test/java/org/apache/harmony/testframework/serialization/ |
D | SerializationTest.java | 319 public static void verifyGolden(Object test, Object object, SerializableAssert comparator) in verifyGolden() 356 public static void verifyGolden(Object test, Object[] objects, SerializableAssert comparator) in verifyGolden() 386 public static void verifySelf(Object object, SerializableAssert comparator) throws Exception { in verifySelf() 415 public static void verifySelf(Object[] objects, SerializableAssert comparator) in verifySelf()
|
/libcore/ojluni/src/main/java/java/util/ |
D | SortedSet.java | 118 Comparator<? super E> comparator(); in comparator() method
|
D | Comparator.java | 377 public static <T> Comparator<T> nullsFirst(Comparator<? super T> comparator) { in nullsFirst() 398 public static <T> Comparator<T> nullsLast(Comparator<? super T> comparator) { in nullsLast()
|
D | SortedMap.java | 123 Comparator<? super K> comparator(); in comparator() method
|
D | PriorityQueue.java | 108 private final Comparator<? super E> comparator; field in PriorityQueue 147 public PriorityQueue(Comparator<? super E> comparator) { in PriorityQueue() 163 Comparator<? super E> comparator) { in PriorityQueue() 748 public Comparator<? super E> comparator() { in comparator() method in PriorityQueue
|
D | TreeSet.java | 140 public TreeSet(Comparator<? super E> comparator) { in TreeSet() 386 public Comparator<? super E> comparator() { in comparator() method in TreeSet
|
/libcore/ojluni/annotations/sdk/nullability/java/util/ |
D | SortedMap.annotated.java | 33 ….util.Nullable public java.util.Comparator<? super @libcore.util.NullFromTypeParam K> comparator(); in comparator() method
|
D | TreeMap.annotated.java | 36 …tor<? super @libcore.util.NullFromTypeParam K> comparator) { throw new RuntimeException("Stub!"); } in TreeMap() 50 …public java.util.Comparator<? super @libcore.util.NullFromTypeParam K> comparator() { throw new Ru… in comparator() method in TreeMap
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | PriorityQueue.java | 41 public PriorityQueue(java.util.Comparator<? super E> comparator) { in PriorityQueue() 45 public PriorityQueue(int initialCapacity, java.util.Comparator<? super E> comparator) { in PriorityQueue() 165 public java.util.Comparator<? super E> comparator() { in comparator() method in PriorityQueue 186 private final java.util.Comparator<? super E> comparator; field in PriorityQueue
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | ConcurrentSkipListSet.java | 125 public ConcurrentSkipListSet(Comparator<? super E> comparator) { in ConcurrentSkipListSet() 390 public Comparator<? super E> comparator() { in comparator() method in ConcurrentSkipListSet
|
D | PriorityBlockingQueue.java | 161 private transient Comparator<? super E> comparator; field in PriorityBlockingQueue 220 Comparator<? super E> comparator) { in PriorityBlockingQueue() 588 public Comparator<? super E> comparator() { in comparator() method in PriorityBlockingQueue
|
D | ConcurrentSkipListMap.java | 375 final Comparator<? super K> comparator; field in ConcurrentSkipListMap 1291 public ConcurrentSkipListMap(Comparator<? super K> comparator) { in ConcurrentSkipListMap() 2021 public Comparator<? super K> comparator() { in comparator() method in ConcurrentSkipListMap 2372 public Comparator<? super K> comparator() { return m.comparator(); } in comparator() method in ConcurrentSkipListMap.KeySet 2906 public Comparator<? super K> comparator() { in comparator() method in ConcurrentSkipListMap.SubMap 3305 final Comparator<? super K> comparator; field in ConcurrentSkipListMap.CSLMSpliterator 3310 CSLMSpliterator(Comparator<? super K> comparator, Index<K,V> row, in CSLMSpliterator() 3321 KeySpliterator(Comparator<? super K> comparator, Index<K,V> row, in KeySpliterator() 3409 ValueSpliterator(Comparator<? super K> comparator, Index<K,V> row, in ValueSpliterator() 3496 EntrySpliterator(Comparator<? super K> comparator, Index<K,V> row, in EntrySpliterator()
|
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/ |
D | PriorityBlockingQueue.java | 52 public PriorityBlockingQueue(int initialCapacity, java.util.Comparator<? super E> comparator) { in PriorityBlockingQueue() 124 public java.util.Comparator<? super E> comparator() { in comparator() method in PriorityBlockingQueue 215 private transient java.util.Comparator<? super E> comparator; field in PriorityBlockingQueue
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | RefSortedMap.java | 88 private final Comparator<? super K> comparator; field in RefSortedMap
|
D | PriorityQueueTest.java | 224 MockComparator<Object> comparator = new MockComparator<Object>(); in test_ConstructorILjava_util_Comparator() local 647 MockComparator<Object> comparator = new MockComparator<Object>(); in test_remove_Ljava_lang_Object_not_Compatible() local 666 MockComparator<Object> comparator = new MockComparator<Object>(); in test_comparator() local
|
D | RandomTest.java | 319 public static final SerializationTest.SerializableAssert comparator = field in RandomTest
|
D | HashSetTest.java | 308 private static final SerializationTest.SerializableAssert comparator = new field in HashSetTest
|
D | Collections2Test.java | 48 private static final SerializableAssert comparator = new SerializableAssert() { field in Collections2Test
|
D | IdentityHashMapTest.java | 491 private static final SerializationTest.SerializableAssert comparator = new field in IdentityHashMapTest 1052 Comparator<Map.Entry<String, String>> comparator = in test_spliterator_entrySet() local
|
D | IdentityHashMap2Test.java | 457 private static final SerializationTest.SerializableAssert comparator = new field in IdentityHashMap2Test
|
/libcore/ojluni/src/main/java/java/net/ |
D | InMemoryCookieStore.java | 360 T comparator) in getInternal2()
|