/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() 30 MapDefaultMethodTester.test_forEach(new ConcurrentHashMap<>()); in test_forEach() 35 .test_putIfAbsent(new ConcurrentHashMap<>(), false /*doesNotAcceptNullKey*/, in test_putIfAbsent() 41 .test_remove(new ConcurrentHashMap<>(), false /*doesNotAcceptNullKey*/, in test_remove() 47 .test_replace$K$V$V(new ConcurrentHashMap<>(), false /*doesNotAcceptNullKey*/, in test_replace$K$V$V() 52 MapDefaultMethodTester.test_replace$K$V(new ConcurrentHashMap<>(), in test_replace$K$V() 57 MapDefaultMethodTester.test_computeIfAbsent(new ConcurrentHashMap<>(), in test_computeIfAbsent() 62 MapDefaultMethodTester.test_computeIfPresent(new ConcurrentHashMap<>(), in test_computeIfPresent() 68 .test_compute(new ConcurrentHashMap<>(), false /*doesNotAcceptNullKey*/); in test_compute() [all …]
|
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()
|
D | AbstractCollectionTest.java | 24 import java.util.concurrent.ConcurrentHashMap; 30 final ConcurrentHashMap<Integer, Integer> m = new ConcurrentHashMap<Integer, Integer>(); in test_toArray()
|
/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/lang/reflect/ |
D | WeakCache.java | 30 import java.util.concurrent.ConcurrentHashMap; 63 = new ConcurrentHashMap<>(); 65 = new ConcurrentHashMap<>(); 112 valuesMap = new ConcurrentHashMap<>()); in get()
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | DistinctOps.java | 32 import java.util.concurrent.ConcurrentHashMap; 82 ConcurrentHashMap<T, Boolean> map = new ConcurrentHashMap<>(); in makeRef()
|
D | BaseStream.java | 33 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 | 38 import java.util.concurrent.ConcurrentHashMap;
|
/libcore/ojluni/src/main/java/java/time/zone/ |
D | ZoneRulesProvider.java | 77 import java.util.concurrent.ConcurrentHashMap; 138 …private static final ConcurrentMap<String, ZoneRulesProvider> ZONES = new ConcurrentHashMap<>(512,…
|
/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/util/calendar/ |
D | CalendarSystem.java | 35 import java.util.concurrent.ConcurrentHashMap; 86 new ConcurrentHashMap<>();
|
/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/annotations/sdk/nullability/java/util/concurrent/ |
D | ConcurrentHashMap.annotated.java | 52 public class ConcurrentHashMap<K, V> extends java.util.AbstractMap<@libcore.util.NonNull K, @libcor… class 54 public ConcurrentHashMap() { throw new RuntimeException("Stub!"); } in ConcurrentHashMap() method in ConcurrentHashMap 56 public ConcurrentHashMap(int initialCapacity) { throw new RuntimeException("Stub!"); } in ConcurrentHashMap() method in ConcurrentHashMap 58 …public ConcurrentHashMap(@libcore.util.NonNull java.util.Map<? extends @libcore.util.NonNull K,? e… in ConcurrentHashMap() method in ConcurrentHashMap 60 …public ConcurrentHashMap(int initialCapacity, float loadFactor) { throw new RuntimeException("Stub… in ConcurrentHashMap() method in ConcurrentHashMap 62 …public ConcurrentHashMap(int initialCapacity, float loadFactor, int concurrencyLevel) { throw new … in ConcurrentHashMap() method in ConcurrentHashMap 124 …onNull public static <@libcore.util.NonNull K> java.util.concurrent.ConcurrentHashMap.KeySetView<@… in newKeySet() 126 …onNull public static <@libcore.util.NonNull K> java.util.concurrent.ConcurrentHashMap.KeySetView<@… in newKeySet() 128 …@libcore.util.NonNull public java.util.concurrent.ConcurrentHashMap.KeySetView<@libcore.util.NonNu… in keySet() 195 …KeySetView(@libcore.util.NonNull java.util.concurrent.ConcurrentHashMap<K,V> map, @libcore.util.Nu… in KeySetView() [all …]
|
/libcore/ojluni/src/main/java/java/util/ |
D | Currency.java | 30 import java.util.concurrent.ConcurrentHashMap; 82 private static ConcurrentMap<String, Currency> instances = new ConcurrentHashMap<>(7);
|
/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/java/time/format/ |
D | DecimalStyle.java | 70 import java.util.concurrent.ConcurrentHashMap; 95 …private static final ConcurrentMap<Locale, DecimalStyle> CACHE = new ConcurrentHashMap<>(16, 0.75f…
|
/libcore/dalvik/test-rules/src/main/java/libcore/dalvik/system/ |
D | CloseGuardSupport.java | 24 import java.util.concurrent.ConcurrentHashMap; 157 Collections.newSetFromMap(new ConcurrentHashMap<>());
|
/libcore/ojluni/src/main/java/java/time/ |
D | ZoneOffset.java | 86 import java.util.concurrent.ConcurrentHashMap; 129 …private static final ConcurrentMap<Integer, ZoneOffset> SECONDS_CACHE = new ConcurrentHashMap<>(16… 131 …private static final ConcurrentMap<String, ZoneOffset> ID_CACHE = new ConcurrentHashMap<>(16, 0.75…
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | AbstractChronology.java | 104 import java.util.concurrent.ConcurrentHashMap; 162 …private static final ConcurrentHashMap<String, Chronology> CHRONOS_BY_ID = new ConcurrentHashMap<>… 166 …private static final ConcurrentHashMap<String, Chronology> CHRONOS_BY_TYPE = new ConcurrentHashMap…
|
/libcore/ojluni/src/main/java/java/text/ |
D | DateFormatSymbols.java | 50 import java.util.concurrent.ConcurrentHashMap; 804 = new ConcurrentHashMap<>(3);
|