/libcore/jsr166-tests/src/test/java/jsr166/ |
D | ConcurrentHashMapTest.java | 20 import java.util.concurrent.ConcurrentHashMap; 39 private static ConcurrentHashMap<Integer, String> map5() { in map5() 40 ConcurrentHashMap map = new ConcurrentHashMap<Integer, String>(5); in map5() 124 ConcurrentHashMap<BI, Boolean> m = in testComparableFamily() 125 new ConcurrentHashMap<BI, Boolean>(); in testComparableFamily() 141 ConcurrentHashMap<Object, Boolean> m = in testGenericComparable() 142 new ConcurrentHashMap<Object, Boolean>(); in testGenericComparable() 166 ConcurrentHashMap<Object, Boolean> m = in testGenericComparable2() 167 new ConcurrentHashMap<Object, Boolean>(); in testGenericComparable2() 184 ConcurrentHashMap<Object, Object> map = in testMixedComparable() [all …]
|
D | ConcurrentHashMap8Test.java | 22 import java.util.concurrent.ConcurrentHashMap; 43 private static ConcurrentHashMap map5() { in map5() 44 ConcurrentHashMap map = new ConcurrentHashMap(5); in map5() 60 ConcurrentHashMap map = map5(); in testGetOrDefault() 69 ConcurrentHashMap map = map5(); in testComputeIfAbsent() 78 ConcurrentHashMap map = map5(); in testComputeIfAbsent2() 86 ConcurrentHashMap map = map5(); in testComputeIfAbsent3() 95 ConcurrentHashMap map = map5(); in testComputeIfPresent() 104 ConcurrentHashMap map = map5(); in testComputeIfPresent2() 112 ConcurrentHashMap map = map5(); in testCompute() [all …]
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | ConcurrentHashMapTest.java | 19 import java.util.concurrent.ConcurrentHashMap; 24 MapDefaultMethodTester.test_getOrDefault(new ConcurrentHashMap<>(), in test_getOrDefault() 29 MapDefaultMethodTester.test_forEach(new ConcurrentHashMap<>()); in test_forEach() 34 .test_putIfAbsent(new ConcurrentHashMap<>(), false /*doesNotAcceptNullKey*/, in test_putIfAbsent() 40 .test_remove(new ConcurrentHashMap<>(), false /*doesNotAcceptNullKey*/, in test_remove() 46 .test_replace$K$V$V(new ConcurrentHashMap<>(), false /*doesNotAcceptNullKey*/, in test_replace$K$V$V() 51 MapDefaultMethodTester.test_replace$K$V(new ConcurrentHashMap<>(), in test_replace$K$V() 56 MapDefaultMethodTester.test_computeIfAbsent(new ConcurrentHashMap<>(), in test_computeIfAbsent() 61 MapDefaultMethodTester.test_computeIfPresent(new ConcurrentHashMap<>(), in test_computeIfPresent() 67 .test_compute(new ConcurrentHashMap<>(), false /*doesNotAcceptNullKey*/); in test_compute() [all …]
|
D | AbstractCollectionTest.java | 22 import java.util.concurrent.ConcurrentHashMap; 28 final ConcurrentHashMap<Integer, Integer> m = new ConcurrentHashMap<Integer, Integer>(); in test_toArray()
|
D | EvilMapTest.java | 28 import java.util.concurrent.ConcurrentHashMap; 103 ConcurrentHashMap<String, String> map = new ConcurrentHashMap<String, String>(evil); in test_48055_ConcurrentHashMap() 105 ConcurrentHashMap<String, String> map2 = new ConcurrentHashMap<String, String>(); in test_48055_ConcurrentHashMap()
|
/libcore/benchmarks/src/benchmarks/ |
D | HashedCollectionsBenchmark.java | 22 import java.util.concurrent.ConcurrentHashMap; 61 ConcurrentHashMap<String, String> map = new ConcurrentHashMap<String, String>(); in timeConcurrentHashMapGet()
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | DistinctOps.java | 32 import java.util.concurrent.ConcurrentHashMap; 81 ConcurrentHashMap<T, Boolean> map = new ConcurrentHashMap<>(); in makeRef()
|
D | BaseStream.java | 31 import java.util.concurrent.ConcurrentHashMap;
|
D | ForEachOps.java | 29 import java.util.concurrent.ConcurrentHashMap; 368 … private final ConcurrentHashMap<ForEachOrderedTask<S, T>, ForEachOrderedTask<S, T>> completionMap; 381 … this.completionMap = new ConcurrentHashMap<>(Math.max(16, AbstractTask.LEAF_TARGET << 1)); in ForEachOrderedTask()
|
D | Collectors.java | 47 import java.util.concurrent.ConcurrentHashMap; 967 return groupingByConcurrent(classifier, ConcurrentHashMap::new, toList()); 1008 return groupingByConcurrent(classifier, ConcurrentHashMap::new, downstream); 1375 return toConcurrentMap(keyMapper, valueMapper, throwingMerger(), ConcurrentHashMap::new); 1429 return toConcurrentMap(keyMapper, valueMapper, mergeFunction, ConcurrentHashMap::new);
|
D | DoubleStream.java | 36 import java.util.concurrent.ConcurrentHashMap;
|
D | LongStream.java | 38 import java.util.concurrent.ConcurrentHashMap;
|
/libcore/ojluni/src/main/java/sun/util/calendar/ |
D | CalendarSystem.java | 37 import java.util.concurrent.ConcurrentHashMap; 98 new ConcurrentHashMap<>();
|
/libcore/ojluni/src/main/java/sun/util/locale/ |
D | LocaleObjectCache.java | 36 import java.util.concurrent.ConcurrentHashMap; 48 map = new ConcurrentHashMap<>(initialCapacity, loadFactor, concurrencyLevel); in LocaleObjectCache()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | FileLockTable.java | 30 import java.util.concurrent.ConcurrentHashMap; 106 private static ConcurrentHashMap<FileKey, List<FileLockReference>> lockMap = 107 new ConcurrentHashMap<FileKey, List<FileLockReference>>();
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | CollectionAndMapModifyStreamTest.java | 28 import java.util.concurrent.ConcurrentHashMap; 131 maps.put(ConcurrentHashMap.class.getName(), () -> new ConcurrentHashMap<>(content)); in createMaps()
|
D | TabulatorsTest.java | 41 import java.util.concurrent.ConcurrentHashMap; 430 … new ToMapAssertion<>(keyFn, valueFn, sum, ConcurrentHashMap.class)); 440 new ToMapAssertion<>(keyFn, valueFn, sum, ConcurrentHashMap.class)); 455 new GroupedMapAssertion<>(classifier, ConcurrentHashMap.class, 484 new GroupedMapAssertion<>(classifier, ConcurrentHashMap.class, 491 … new GroupedMapAssertion<>(classifier2, ConcurrentHashMap.class, 496 new GroupedMapAssertion<>(classifier, ConcurrentHashMap.class, 497 … new GroupedMapAssertion<>(classifier2, ConcurrentHashMap.class, 538 new GroupedMapAssertion<>(classifier, ConcurrentHashMap.class, 560 new GroupedMapAssertion<>(classifier, ConcurrentHashMap.class,
|
/libcore/ojluni/src/main/java/sun/util/ |
D | LocaleServiceProviderPool.java | 43 import java.util.concurrent.ConcurrentHashMap; 63 new ConcurrentHashMap<>(); 76 new ConcurrentHashMap<Locale, LocaleServiceProvider>();
|
/libcore/ojluni/src/main/java/java/text/ |
D | DecimalFormatSymbols.java | 50 import java.util.concurrent.ConcurrentHashMap; 1045 …private static final ConcurrentHashMap<Locale, Object[]> cachedLocaleData = new ConcurrentHashMap<…
|
D | DateFormatSymbols.java | 51 import java.util.concurrent.ConcurrentHashMap; 767 = new ConcurrentHashMap<Locale, SoftReference<DateFormatSymbols>>(3);
|
/libcore/luni/src/main/java/java/util/concurrent/ |
D | ConcurrentHashMap.java | 235 public class ConcurrentHashMap<K,V> extends AbstractMap<K,V> class 802 public ConcurrentHashMap() { in ConcurrentHashMap() method in ConcurrentHashMap 815 public ConcurrentHashMap(int initialCapacity) { in ConcurrentHashMap() method in ConcurrentHashMap 829 public ConcurrentHashMap(Map<? extends K, ? extends V> m) { in ConcurrentHashMap() method in ConcurrentHashMap 849 public ConcurrentHashMap(int initialCapacity, float loadFactor) { in ConcurrentHashMap() method in ConcurrentHashMap 871 public ConcurrentHashMap(int initialCapacity, in ConcurrentHashMap() method in ConcurrentHashMap 2160 (new ConcurrentHashMap<K,Boolean>(), Boolean.TRUE); in newKeySet() 2177 (new ConcurrentHashMap<K,Boolean>(initialCapacity), Boolean.TRUE); in newKeySet() 3414 final ConcurrentHashMap<K,V> map; 3417 ConcurrentHashMap<K,V> map) { in BaseIterator() [all …]
|
/libcore/support/src/test/java/tests/http/ |
D | MockWebServer.java | 42 import java.util.concurrent.ConcurrentHashMap; 71 = Collections.newSetFromMap(new ConcurrentHashMap<Socket, Boolean>());
|
/libcore/support/src/test/java/tests/support/ |
D | Support_TestWebServer.java | 24 import java.util.concurrent.ConcurrentHashMap; 44 = new ConcurrentHashMap<String, Request>();
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Thread.java | 37 import java.util.concurrent.ConcurrentHashMap; 1632 new ConcurrentHashMap<>();
|
/libcore/ojluni/src/main/java/java/security/ |
D | Security.java | 31 import java.util.concurrent.ConcurrentHashMap; 555 private static final Map<String, Class> spiMap = new ConcurrentHashMap<>();
|