Home
last modified time | relevance | path

Searched refs:WeakHashMap (Results 1 – 20 of 20) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DWeakHashMapTest.java33 import java.util.WeakHashMap;
54 WeakHashMap whm;
61 new Support_MapTest2(new WeakHashMap()).runTest(); in test_Constructor()
63 whm = new WeakHashMap(); in test_Constructor()
76 whm = new WeakHashMap(50); in test_ConstructorI()
82 WeakHashMap empty = new WeakHashMap(0); in test_ConstructorI()
88 new WeakHashMap(-50); in test_ConstructorI()
100 whm = new WeakHashMap(50, 0.5f); in test_ConstructorIF()
106 WeakHashMap empty = new WeakHashMap(0, 0.75f); in test_ConstructorIF()
112 new WeakHashMap(50, -0.5f); in test_ConstructorIF()
[all …]
DAbstractMapTest.java35 import java.util.WeakHashMap;
95 AbstractMap map7 = new WeakHashMap(); in test_keySet()
127 AbstractMap map7 = new WeakHashMap(); in test_removeLjava_lang_Object()
247 AbstractMap map7 = new WeakHashMap(); in test_values()
/libcore/ojluni/src/main/java/java/util/
DWeakHashMap.java136 public class WeakHashMap<K,V> class
207 public WeakHashMap(int initialCapacity, float loadFactor) { in WeakHashMap() method in WeakHashMap
232 public WeakHashMap(int initialCapacity) { in WeakHashMap() method in WeakHashMap
240 public WeakHashMap() { in WeakHashMap() method in WeakHashMap
254 public WeakHashMap(Map<? extends K, ? extends V> m) { in WeakHashMap() method in WeakHashMap
721 return (K) WeakHashMap.unmaskNull(get()); in getKey()
823 WeakHashMap.this.remove(currentKey); in remove()
881 return WeakHashMap.this.size(); in size()
890 WeakHashMap.this.remove(o); in remove()
898 WeakHashMap.this.clear(); in clear()
[all …]
/libcore/ojluni/annotations/sdk/nullability/java/util/
DWeakHashMap.annotated.java33 public class WeakHashMap<K, V> extends java.util.AbstractMap<K,V> implements java.util.Map<K,V> { class
35 public WeakHashMap(int initialCapacity, float loadFactor) { throw new RuntimeException("Stub!"); } in WeakHashMap() method in WeakHashMap
37 public WeakHashMap(int initialCapacity) { throw new RuntimeException("Stub!"); } in WeakHashMap() method in WeakHashMap
39 public WeakHashMap() { throw new RuntimeException("Stub!"); } in WeakHashMap() method in WeakHashMap
41 public WeakHashMap(@libcore.util.NonNull java.util.Map<? extends @libcore.util.NullFromTypeParam K,… in WeakHashMap() method in WeakHashMap
/libcore/luni/src/test/java/libcore/java/util/
DEvilMapTest.java27 import java.util.WeakHashMap;
83 WeakHashMap<String, String> map = new WeakHashMap<String, String>(evil); in test_48055_WeakHashMap()
85 WeakHashMap<String, String> map2 = new WeakHashMap<String, String>(); in test_48055_WeakHashMap()
DWeakHashMapTest.java22 import java.util.WeakHashMap;
30 WeakHashMap<Data, String> map = new WeakHashMap<>(); in test_replaceAll()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DAttributedStringTest.java25 import java.util.WeakHashMap;
144 as = new AttributedString("123", new WeakHashMap()); in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_ObjectII()
165 AttributedString as = new AttributedString("123", new WeakHashMap()); in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_Object()
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DCollectionAndMapModifyStreamTest.java119 maps.put(WeakHashMap.class.getName(), () -> new WeakHashMap<>(content)); in createMaps()
/libcore/luni/src/main/java/libcore/reflect/
DAnnotationFactory.java31 import java.util.WeakHashMap;
52 new WeakHashMap<Class<? extends Annotation>, AnnotationMember[]>();
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
DDocumentImpl.java22 import java.util.WeakHashMap;
73 private WeakHashMap<NodeImpl, Map<String, UserData>> nodeToUserData;
496 nodeToUserData = new WeakHashMap<NodeImpl, Map<String, UserData>>(); in getUserDataMap()
/libcore/ojluni/src/main/java/java/net/
DURLClassLoader.java47 import java.util.WeakHashMap;
212 private WeakHashMap<Closeable,Void>
213 closeables = new WeakHashMap<>();
/libcore/ojluni/annotations/hiddenapi/java/net/
DURLClassLoader.java135 private java.util.WeakHashMap<java.io.Closeable, java.lang.Void> closeables;
/libcore/ojluni/src/main/java/java/util/zip/
DZipFile.java46 import java.util.WeakHashMap;
377 private final Map<InputStream, Inflater> streams = new WeakHashMap<>();
/libcore/ojluni/src/main/java/javax/crypto/
DJceSecurity.java229 new WeakHashMap<>();
/libcore/ojluni/src/main/java/java/lang/
DClassLoader.java53 import java.util.WeakHashMap;
/libcore/ojluni/annotations/hiddenapi/java/util/logging/
DLogManager.java206 private java.util.WeakHashMap<java.lang.Object, java.util.logging.LogManager.LoggerContext>
/libcore/ojluni/src/main/java/java/lang/reflect/
DProxy.java47 import java.util.WeakHashMap;
/libcore/ojluni/src/main/java/java/util/logging/
DLogManager.java486 private WeakHashMap<Object, LoggerContext> contextsMap = null;
/libcore/expectations/
Dknownfailures.txt34 "java.util.WeakHashMap.GCDuringIteration",
/libcore/
Dopenjdk_java_files.bp1183 "ojluni/src/main/java/java/util/WeakHashMap.java",