/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | LinkedHashMapTest.java | 28 import java.util.LinkedHashMap; 44 LinkedHashMap hm; 52 static final class CacheMap extends LinkedHashMap { 75 new Support_MapTest2(new LinkedHashMap()).runTest(); in test_Constructor() 77 LinkedHashMap hm2 = new LinkedHashMap(); in test_Constructor() 86 LinkedHashMap hm2 = new LinkedHashMap(5); in test_ConstructorI() 89 new LinkedHashMap(-1); in test_ConstructorI() 96 LinkedHashMap empty = new LinkedHashMap(0); in test_ConstructorI() 107 LinkedHashMap hm2 = new LinkedHashMap(5, (float) 0.5); in test_ConstructorIF() 110 new LinkedHashMap(0, 0); in test_ConstructorIF() [all …]
|
D | AbstractMapTest.java | 30 import java.util.LinkedHashMap; 89 AbstractMap map5 = new LinkedHashMap(122); in test_keySet() 114 AbstractMap map5 = new LinkedHashMap(122); in test_removeLjava_lang_Object() 241 AbstractMap map5 = new LinkedHashMap(122); in test_values()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | LinkedHashMapTest.java | 27 import java.util.LinkedHashMap; 42 .test_getOrDefault(new LinkedHashMap<>(), true /*acceptsNullKey*/, in test_getOrDefault() 46 Map<String, String> m = new LinkedHashMap<String, String>(8, .75f, true); in test_getOrDefault() 60 MapDefaultMethodTester.test_forEach(new LinkedHashMap<>()); in test_forEach() 64 MapDefaultMethodTester.test_putIfAbsent(new LinkedHashMap<>(), true /*acceptsNullKey*/, in test_putIfAbsent() 68 Map<String, String> m = new LinkedHashMap<String, String>(8, .75f, true); in test_putIfAbsent() 89 MapDefaultMethodTester.test_remove(new LinkedHashMap<>(), true /*acceptsNullKey*/, in test_remove() 95 test_replace$K$V$V(new LinkedHashMap<>(), true /*acceptsNullKey*/, in test_replace$K$V$V() 99 Map<String, String> m = new LinkedHashMap<>(8, .75f, true /*accessOrder*/); in test_replace$K$V$V() 122 MapDefaultMethodTester.test_replace$K$V(new LinkedHashMap<>(), true /*acceptsNullKey*/, in test_replace$K$V() [all …]
|
D | OldLinkedHashMapTest.java | 22 import java.util.LinkedHashMap; 29 LinkedHashMap map = new LinkedHashMap<String, String>(10, 0.75f, true); in testLinkedHashMap() 49 LinkedHashMap mapClone = (LinkedHashMap) map.clone(); in testLinkedHashMap() 57 new LinkedHashMap<String, String>(-10, 0.75f, true); in testLinkedHashMap() 63 new LinkedHashMap<String, String>(10, -0.75f, true); in testLinkedHashMap()
|
D | EvilMapTest.java | 24 import java.util.LinkedHashMap; 73 LinkedHashMap<String, String> map = new LinkedHashMap<String, String>(evil); in test_48055_LinkedHashMap() 75 LinkedHashMap<String, String> map2 = new LinkedHashMap<String, String>(); in test_48055_LinkedHashMap()
|
D | HashMapTest.java | 27 import java.util.LinkedHashMap;
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | LinkedHashMap.java | 31 public class LinkedHashMap<K, V> extends java.util.HashMap<K, V> implements java.util.Map<K, V> { class 33 public LinkedHashMap(int initialCapacity, float loadFactor) { in LinkedHashMap() method in LinkedHashMap 37 public LinkedHashMap(int initialCapacity) { in LinkedHashMap() method in LinkedHashMap 41 public LinkedHashMap() { in LinkedHashMap() method in LinkedHashMap 45 public LinkedHashMap(java.util.Map<? extends K, ? extends V> m) { in LinkedHashMap() method in LinkedHashMap 49 public LinkedHashMap(int initialCapacity, float loadFactor, boolean accessOrder) { in LinkedHashMap() method in LinkedHashMap 53 private void linkNodeLast(java.util.LinkedHashMap.LinkedHashMapEntry<K, V> p) { in linkNodeLast() 58 java.util.LinkedHashMap.LinkedHashMapEntry<K, V> src, in transferLinks() 59 java.util.LinkedHashMap.LinkedHashMapEntry<K, V> dst) { in transferLinks() 155 transient java.util.LinkedHashMap.LinkedHashMapEntry<K, V> head; [all …]
|
/libcore/ojluni/annotations/mmodule/java/util/ |
D | LinkedHashMap.annotated.java | 31 public class LinkedHashMap<K, V> extends java.util.HashMap<K,V> implements java.util.Map<K,V> { class 33 public LinkedHashMap(int initialCapacity, float loadFactor) { throw new RuntimeException("Stub!"); } in LinkedHashMap() method in LinkedHashMap 35 public LinkedHashMap(int initialCapacity) { throw new RuntimeException("Stub!"); } in LinkedHashMap() method in LinkedHashMap 37 public LinkedHashMap() { throw new RuntimeException("Stub!"); } in LinkedHashMap() method in LinkedHashMap 39 public LinkedHashMap(java.util.Map<? extends K, ? extends V> m) { throw new RuntimeException("Stub!… in LinkedHashMap() method in LinkedHashMap 41 public LinkedHashMap(int initialCapacity, float loadFactor, boolean accessOrder) { throw new Runtim… in LinkedHashMap() method in LinkedHashMap
|
/libcore/luni/src/main/java/libcore/util/ |
D | BasicLruCache.java | 20 import java.util.LinkedHashMap; 30 private final LinkedHashMap<K, V> map; 39 this.map = new LinkedHashMap<K, V>(0, 0.75f, true); in BasicLruCache() 132 return new LinkedHashMap<K, V>(map); in snapshot()
|
/libcore/benchmarks/src/benchmarks/ |
D | HashedCollectionsBenchmark.java | 21 import java.util.LinkedHashMap; 54 LinkedHashMap<String, String> map = new LinkedHashMap<String, String>(); in timeLinkedHashMapGet()
|
/libcore/ojluni/src/main/java/java/util/ |
D | LinkedHashMap.java | 181 public class LinkedHashMap<K,V> class 370 public LinkedHashMap(int initialCapacity, float loadFactor) { in LinkedHashMap() method in LinkedHashMap 382 public LinkedHashMap(int initialCapacity) { in LinkedHashMap() method in LinkedHashMap 391 public LinkedHashMap() { in LinkedHashMap() method in LinkedHashMap 405 public LinkedHashMap(Map<? extends K, ? extends V> m) { in LinkedHashMap() method in LinkedHashMap 422 public LinkedHashMap(int initialCapacity, in LinkedHashMap() method in LinkedHashMap 574 public final void clear() { LinkedHashMap.this.clear(); } in clear() 628 public final void clear() { LinkedHashMap.this.clear(); } in clear() 675 public final void clear() { LinkedHashMap.this.clear(); } in clear()
|
D | HashSet.java | 161 map = new LinkedHashMap<>(initialCapacity, loadFactor); in HashSet() 327 new LinkedHashMap<E,Object>(capacity, loadFactor) : in readObject()
|
D | ServiceLoader.java | 200 private LinkedHashMap<String,S> providers = new LinkedHashMap<>();
|
/libcore/ojluni/src/main/java/java/io/ |
D | ExpiringCache.java | 33 import java.util.LinkedHashMap; 67 map = new LinkedHashMap<String,Entry>() { in ExpiringCache()
|
/libcore/ojluni/src/main/java/sun/util/locale/provider/ |
D | CalendarDataUtility.java | 34 import java.util.LinkedHashMap; 245 Map<String, Integer> result = new LinkedHashMap<>(); in retrieveFieldValueNamesImpl() 255 return new LinkedHashMap<>(); in retrieveFieldValueNamesImpl()
|
/libcore/ojluni/src/main/java/javax/net/ssl/ |
D | SSLParameters.java | 35 import java.util.LinkedHashMap; 298 sniNames = new LinkedHashMap<>(serverNames.size()); in setServerNames()
|
/libcore/tools/upstream/src/main/java/libcore/ |
D | CompareUpstreams.java | 26 import java.util.LinkedHashMap; 93 Map<String, Integer> result = new LinkedHashMap<>(); in androidChangedComments()
|
/libcore/json/src/main/java/org/json/ |
D | JSONObject.java | 24 import java.util.LinkedHashMap; 117 private final LinkedHashMap<String, Object> nameValuePairs; 123 nameValuePairs = new LinkedHashMap<String, Object>(); in JSONObject()
|
/libcore/ojluni/src/test/java/util/stream/ |
D | TestDoubleSumAverage.java | 101 Map<Supplier<DoubleStream>, Double> testCases = new LinkedHashMap<>(); in testNonfiniteSum()
|
/libcore/support/src/test/java/tests/support/ |
D | Support_TestWebServer.java | 274 this.headers = new LinkedHashMap<String, String>(headers); in Request() 322 private Map<String, String> headers = new LinkedHashMap<String, String>();
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | CollectionAndMapModifyStreamTest.java | 117 maps.put(HashMap.class.getName(), () -> new LinkedHashMap<>(content)); in createMaps()
|
/libcore/ojluni/src/main/java/java/security/ |
D | Provider.java | 731 legacyStrings = new LinkedHashMap<String,String>(); in checkLegacy() 796 legacyStrings = new LinkedHashMap<String,String>(); in implReplaceAll() 936 legacyMap = new LinkedHashMap<ServiceKey,Service>(); in ensureLegacyParsed() 1164 serviceMap = new LinkedHashMap<ServiceKey,Service>(); in putService()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | SerializationStressTest.java | 46 import java.util.LinkedHashMap; 122 static final LinkedHashMap<String, String> LINKEDMAP = new LinkedHashMap<String, String>();
|
/libcore/ojluni/src/main/java/sun/security/util/ |
D | Cache.java | 273 cacheMap = new LinkedHashMap<>(buckets, LOAD_FACTOR, true); in MemoryCache()
|
/libcore/ojluni/src/main/java/sun/util/locale/ |
D | LocaleMatcher.java | 32 import java.util.LinkedHashMap;
|