Home
last modified time | relevance | path

Searched refs:newWeakHashMap (Results 1 – 6 of 6) sorted by relevance

/libcore/luni/src/test/java/libcore/java/util/
DWeakHashMapTest.java202 assertNotNull(WeakHashMap.newWeakHashMap(0)); in factoryMethod()
203 assertNotNull(WeakHashMap.newWeakHashMap(10)); in factoryMethod()
208 assertThrows(IllegalArgumentException.class, () -> WeakHashMap.newWeakHashMap(-10)); in factoryMethod_invalidArgs()
/libcore/ojluni/annotations/flagged_api/java/util/
DWeakHashMap.annotated.java69 public static <K, V> java.util.WeakHashMap<K,V> newWeakHashMap(int numMappings) { throw new Runtime… in newWeakHashMap() method in WeakHashMap
/libcore/ojluni/annotations/sdk/nullability/java/util/
DWeakHashMap.annotated.java71 @libcore.util.NonNull public static <K, V> java.util.WeakHashMap<K,V> newWeakHashMap(int numMapping… in newWeakHashMap() method in WeakHashMap
/libcore/ojluni/src/test/java/util/HashMap/
DWhiteBoxResizeTest.java350 rsc("rswm", size, cap, () -> new MapCapacitiable(WeakHashMap.newWeakHashMap(size))),
440 methods.add(new Object[] {(IntFunction<?>) WeakHashMap::newWeakHashMap,
/libcore/ojluni/src/main/java/java/util/
DWeakHashMap.java1359 public static <K, V> WeakHashMap<K, V> newWeakHashMap(int numMappings) { in newWeakHashMap() method in WeakHashMap
/libcore/api/
Dcurrent.txt15451 ….openjdk_21_v1_apis") @NonNull public static <K, V> java.util.WeakHashMap<K,V> newWeakHashMap(int);