/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | SimpleEntryTest.java | 23 import java.util.AbstractMap.SimpleEntry; 30 new AbstractMap.SimpleEntry<Integer, String>(1, "test"); in test_SimpleEntry_Constructor_K_V() 31 new AbstractMap.SimpleEntry(null, null); in test_SimpleEntry_Constructor_K_V() 53 Entry testEntry = new AbstractMap.SimpleEntry(entryToPut); in test_SimpleEntry_Constructor_LEntry() 58 testEntry = new AbstractMap.SimpleEntry(new NullEntry()); in test_SimpleEntry_Constructor_LEntry() 62 new AbstractMap.SimpleEntry(null); in test_SimpleEntry_Constructor_LEntry() 71 Entry entry = new AbstractMap.SimpleEntry<Integer, String>(1, "test"); in test_SimpleEntry_getKey() 73 entry = new AbstractMap.SimpleEntry(null, null); in test_SimpleEntry_getKey() 78 Entry entry = new AbstractMap.SimpleEntry<Integer, String>(1, "test"); in test_SimpleEntry_getValue() 80 entry = new AbstractMap.SimpleEntry(null, null); in test_SimpleEntry_getValue() [all …]
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | EntryTest.java | 58 Map.Entry e = new AbstractMap.SimpleEntry(k1, v1); in testConstructor1() 76 Map.Entry e2 = new AbstractMap.SimpleEntry(k1, v1); in testConstructor3() 77 Map.Entry e = new AbstractMap.SimpleEntry(e2); in testConstructor3() 97 Map.Entry e2 = new AbstractMap.SimpleEntry(k1, v1); in testEquals() 98 Map.Entry e = new AbstractMap.SimpleEntry(e2); in testEquals() 115 Map.Entry e2 = new AbstractMap.SimpleEntry(k1, v1); in testNotEquals() 116 Map.Entry e = new AbstractMap.SimpleEntry(k2, v1); in testNotEquals() 118 e = new AbstractMap.SimpleEntry(k1, v2); in testNotEquals() 120 e = new AbstractMap.SimpleEntry(k2, v2); in testNotEquals() 136 Map.Entry e2 = new AbstractMap.SimpleEntry(k1, v1); in testSetValue1() [all …]
|
D | ConcurrentHashMap8Test.java | 603 return new AbstractMap.SimpleEntry<Long,Long> in apply()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | EntryTest.java | 35 Map.Entry e = new AbstractMap.SimpleEntry(k1, v1); in testConstructor1() 53 Map.Entry e2 = new AbstractMap.SimpleEntry(k1, v1); in testConstructor3() 54 Map.Entry e = new AbstractMap.SimpleEntry(e2); in testConstructor3() 74 Map.Entry e2 = new AbstractMap.SimpleEntry(k1, v1); in testEquals() 75 Map.Entry e = new AbstractMap.SimpleEntry(e2); in testEquals() 92 Map.Entry e2 = new AbstractMap.SimpleEntry(k1, v1); in testNotEquals() 93 Map.Entry e = new AbstractMap.SimpleEntry(k2, v1); in testNotEquals() 95 e = new AbstractMap.SimpleEntry(k1, v2); in testNotEquals() 97 e = new AbstractMap.SimpleEntry(k2, v2); in testNotEquals() 113 Map.Entry e2 = new AbstractMap.SimpleEntry(k1, v1); in testSetValue1() [all …]
|
D | ConcurrentHashMap8Test.java | 578 return new AbstractMap.SimpleEntry<Long,Long> in apply()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | AbstractMapTest.java | 34 AbstractMap.SimpleEntry<String, Integer> entry = new AbstractMap.SimpleEntry<>("abc", 1); in testSimpleEntrySetValue()
|
D | TreeMapTest.java | 22 import java.util.AbstractMap.SimpleEntry; 182 assertTrue(map.entrySet().contains(new SimpleEntry<String, String>("abc", "a"))); in testEntrySetUsesComparatorOnly() 183 assertTrue(map.entrySet().remove(new SimpleEntry<String, String>("abc", "a"))); in testEntrySetUsesComparatorOnly() 746 return new AbstractMap.SimpleEntry<>(key, value); in entry()
|
D | OldAbstractMapTest.java | 106 entries.add(new AbstractMap.SimpleEntry<String, String>(key, value)); in put()
|
D | EvilMapTest.java | 35 entries.add(new AbstractMap.SimpleEntry("hi", "there")); in EvilMap()
|
D | MapDefaultMethodTester.java | 461 return new AbstractMap.SimpleEntry<>("key" + i, "value" + i); in test_entrySet_spliterator_unordered() 507 result.add(new AbstractMap.SimpleEntry<>(keysAndValues[i], keysAndValues[i+1])); in makeEntries()
|
D | CollectionsTest.java | 872 assertEquals(new AbstractMap.SimpleEntry<>(key, value), map.floorEntry(key)); in check_unmodifiableNavigableMap_defaultMethods() 873 assertEquals(new AbstractMap.SimpleEntry<>(key, value), map.ceilingEntry(key)); in check_unmodifiableNavigableMap_defaultMethods() 1421 check_unmodifiableSet(map.entrySet(), new AbstractMap.SimpleEntry<>("absent element", 42)); in test_emptySortedMap()
|
/libcore/ojluni/annotations/sdk/nullability/java/util/ |
D | AbstractMap.annotated.java | 69 public static class SimpleEntry<K, V> implements java.util.Map.Entry<K,V>, java.io.Serializable { class in AbstractMap 71 public SimpleEntry(@libcore.util.NullFromTypeParam K key, @libcore.util.NullFromTypeParam V value) … in SimpleEntry() method in AbstractMap.SimpleEntry 73 public SimpleEntry(@libcore.util.NonNull java.util.Map.Entry<? extends @libcore.util.NullFromTypePa… in SimpleEntry() method in AbstractMap.SimpleEntry
|
/libcore/ojluni/src/main/java/java/util/ |
D | AbstractMap.java | 606 public static class SimpleEntry<K,V> class in AbstractMap 624 public SimpleEntry(K key, V value) { in SimpleEntry() method in AbstractMap.SimpleEntry 635 public SimpleEntry(Entry<? extends K, ? extends V> entry) { in SimpleEntry() method in AbstractMap.SimpleEntry
|
D | EnumMap.java | 506 a[j++] = new AbstractMap.SimpleEntry<>( in fillEntryArray()
|
D | WeakHashMap.java | 998 list.add(new AbstractMap.SimpleEntry<>(e)); in deepCopy()
|
D | IdentityHashMap.java | 1239 a[ti++] = (T) new AbstractMap.SimpleEntry<>(unmaskNull(key), tab[si + 1]); in toArray()
|
/libcore/luni/src/test/java/libcore/java/util/concurrent/ |
D | ConcurrentHashMapTest.java | 58 return new AbstractMap.SimpleEntry<Long,Long> in apply() 66 return new AbstractMap.SimpleEntry<Long, Long> in apply()
|
/libcore/api/ |
D | current.txt | 12786 …public static class AbstractMap.SimpleEntry<K, V> implements java.util.Map.Entry<K,V> java.io.Seri… 12787 ctor public AbstractMap.SimpleEntry(K, V); 12788 ctor public AbstractMap.SimpleEntry(@NonNull java.util.Map.Entry<? extends K,? extends V>);
|