Home
last modified time | relevance | path

Searched refs:synchronizedMap (Results 1 – 21 of 21) sorted by relevance

/libcore/ojluni/src/test/java/util/Map/
DBasicSerialization.java192 … new Object[]{"Collections.synchronizedMap(HashMap)", Collections.synchronizedMap(new HashMap())}, in makeMaps()
200 …new Object[]{"Collections.synchronizedMap(EnumMap)", Collections.synchronizedMap(new EnumMap(Integ… in makeMaps()
205 …new Object[]{"Collections.synchronizedMap(HashMap)", Collections.synchronizedMap(fillMap(new HashM… in makeMaps()
213 …new Object[]{"Collections.synchronizedMap(EnumMap)", Collections.synchronizedMap(fillMap(new EnumM… in makeMaps()
DLockStep.java115 Collections.synchronizedMap(new HashMap(16)), in testLockStep()
DDefaults.java855 …new Object[]{"Collections.synchronizedMap(HashMap)", Collections.synchronizedMap(makeMap(HashMap::… in makeRWMaps()
869 …new Object[]{"Collections.synchronizedMap(EnumMap)", Collections.synchronizedMap(makeMap(() -> new… in makeRWNoNullKeysMaps()
879 …ject[]{"Collections.synchronizedMap(ConcurrentHashMap)", Collections.synchronizedMap(makeMap(Concu…
/libcore/ojluni/src/test/java/util/Collections/
DWrappers.java99 cases.add(new Object[] { Collections.synchronizedMap(seedMap).entrySet() }); in collectionCases()
100 cases.add(new Object[] { Collections.synchronizedMap(seedMap).keySet() }); in collectionCases()
101 cases.add(new Object[] { Collections.synchronizedMap(seedMap).values() }); in collectionCases()
DWrappedNull.java148 Map c = Collections.synchronizedMap(null); in main()
189 m = Collections.synchronizedMap(Collections.EMPTY_MAP); in main()
DEqualsTest.java58 Map m = Collections.synchronizedMap(new HashMap()); in main()
DRacingCollections.java68 import static java.util.Collections.synchronizedMap;
318 frob(synchronizedMap(x), y); in realMain()
319 frob(x, synchronizedMap(y)); in realMain()
DSyncSubMutexes.java218 instances.add(new Object[] {Collections.synchronizedMap(new HashMap<>(BASE_MAP))}); in makeMaps()
/libcore/ojluni/src/main/java/sun/security/x509/
DCRLExtensions.java66 private Map<String,Extension> map = Collections.synchronizedMap(
DCertificateExtensions.java60 private Map<String,Extension> map = Collections.synchronizedMap(
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DCollections2Test.java145 Collections.synchronizedMap(null); in test_synchronizedMapLjava_util_Map()
540 testMapForEach(Collections.synchronizedMap(map)); in test_Map_forEach()
DCollectionsTest.java1414 Map synchMap = Collections.synchronizedMap(smallMap); in test_synchronizedMapLjava_util_Map()
1457 synchMap = Collections.synchronizedMap(smallMap); in test_synchronizedMapLjava_util_Map()
1545 Map synchMap = Collections.synchronizedMap(smallMap); in test_synchronizedSortedMapLjava_util_SortedMap()
/libcore/ojluni/src/main/java/java/lang/
DClassLoader.java366 private final Map<String, Package> packages = Collections.synchronizedMap(new HashMap<>());
/libcore/ojluni/annotations/flagged_api/java/util/
DCollections.annotated.java109 public static <K, V> java.util.Map<K,V> synchronizedMap(java.util.Map<K,V> m) { throw new RuntimeEx… in synchronizedMap() method in Collections
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DSerializationStressTest3.java655 Object col = Collections.synchronizedMap(TABLE); in test_18_91_writeObject()
741 Object col = Collections.synchronizedMap(MAP); in test_18_94_writeObject()
/libcore/luni/src/test/java/libcore/java/util/
DOldCollectionsTest.java173 Collections.synchronizedMap(null); in test_synchronizedMapLjava_util_Map()
/libcore/ojluni/annotations/sdk/nullability/java/util/
DCollections.annotated.java102 …libcore.util.NullFromTypeParam K, @libcore.util.NullFromTypeParam V> synchronizedMap(@libcore.util… in synchronizedMap() method in Collections
/libcore/ojluni/src/test/java/util/Collection/
DMOAT.java136 testMap(Collections.synchronizedMap(new HashMap<Integer,Integer>())); in realMain()
/libcore/ojluni/annotations/hiddenapi/java/util/
DCollections.java223 public static <K, V> java.util.Map<K, V> synchronizedMap(java.util.Map<K, V> m) { in synchronizedMap() method in Collections
/libcore/ojluni/src/main/java/java/util/
DCollections.java2916 public static <K,V> Map<K,V> synchronizedMap(Map<K,V> m) {
/libcore/api/
Dcurrent.txt13667 …method @NonNull public static <K, V> java.util.Map<K,V> synchronizedMap(@NonNull java.util.Map<K,V…