Searched refs:k2 (Results 1 – 5 of 5) sorted by relevance
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | EntryTest.java | 28 static final String k2 = "2"; field in EntryTest 93 Map.Entry e = new AbstractMap.SimpleEntry(k2, v1); in testNotEquals() 97 e = new AbstractMap.SimpleEntry(k2, v2); in testNotEquals() 101 Map.Entry s = new AbstractMap.SimpleImmutableEntry(k2, v1); in testNotEquals() 105 s = new AbstractMap.SimpleImmutableEntry(k2, v2); in testNotEquals() 117 e.setValue(k2); in testSetValue1() 118 assertEquals(k2, e.getValue()); in testSetValue1() 131 s.setValue(k2); in testSetValue2()
|
/libcore/luni/src/test/java/libcore/java/util/concurrent/ |
D | CopyOnWriteArrayListTest.java | 391 subList.sort((k1, k2) -> k1.compareTo(k2)); in test_subList_sort()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | CollectionsTest.java | 1384 Collections.emptyList().sort((k1, k2) -> 1); in test_EmptyList_sort() 1452 Collections.unmodifiableList(new ArrayList<>()).sort((k1, k2) -> 1); in test_unmodifiableList_sort() 1463 Collections.unmodifiableList(l).sort((k1, k2) -> 1); in test_unmodifiableList_sort() 1478 Collections.singletonList(1).sort((k1, k2) -> 2); in test_SingletonList_sort() 1625 private static<K,V> Map<K, V> createMap(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4) { in createMap() argument 1628 result.put(k2, v2); in createMap()
|
/libcore/ojluni/src/main/java/java/util/ |
D | WeakHashMap.java | 739 Object k2 = e.getKey(); in equals() local 740 if (k1 == k2 || (k1 != null && k1.equals(k2))) { in equals()
|
D | TreeMap.java | 1294 final int compare(Object k1, Object k2) { in compare() argument 1295 return comparator==null ? ((Comparable<? super K>)k1).compareTo((K)k2) in compare() 1296 : comparator.compare((K)k1, (K)k2); in compare()
|