/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
H A D | WeakHashMapTest.java | 33 import java.util.WeakHashMap; 54 WeakHashMap whm; 57 * java.util.WeakHashMap#WeakHashMap() 60 // Test for method java.util.WeakHashMap() 61 new Support_MapTest2(new WeakHashMap()).runTest(); 63 whm = new WeakHashMap(); 72 * java.util.WeakHashMap#WeakHashMap(int) 75 // Test for method java.util.WeakHashMap(in [all...] |
H A D | AbstractMapTest.java | 35 import java.util.WeakHashMap; 95 AbstractMap map7 = new WeakHashMap(); 96 assertSame("WeakHashMap", map7.keySet(), map7.keySet()); 127 AbstractMap map7 = new WeakHashMap(); 129 assertSame("WeakHashMap", map7.remove(key), value); 247 AbstractMap map7 = new WeakHashMap(); 248 assertSame("WeakHashMap", map7.values(), map7.values());
|
/libcore/ojluni/src/main/java/java/util/ |
H A D | WeakHashMap.java | 38 * An entry in a <tt>WeakHashMap</tt> will automatically be removed when 52 * A synchronized <tt>WeakHashMap</tt> may be constructed using the 60 * <tt>WeakHashMap</tt> at some later time and be surprised that its entry 64 * however, the automatic removal of <tt>WeakHashMap</tt> entries whose 67 * <p> The behavior of the <tt>WeakHashMap</tt> class depends in part upon 71 * <tt>WeakHashMap</tt> may behave as though an unknown thread is silently 73 * <tt>WeakHashMap</tt> instance and invoke none of its mutator methods, it 85 * <p> Each key object in a <tt>WeakHashMap</tt> is stored indirectly as 91 * <tt>WeakHashMap</tt> are held by ordinary strong references. Thus care 95 * key via the <tt>WeakHashMap</t 135 public class WeakHashMap<K,V> class in inherits:AbstractMap,Map 206 public WeakHashMap(int initialCapacity, float loadFactor) { method in class:WeakHashMap 231 public WeakHashMap(int initialCapacity) { method in class:WeakHashMap 239 public WeakHashMap() { method in class:WeakHashMap 253 public WeakHashMap(Map<? extends K, ? extends V> m) { method in class:WeakHashMap [all...] |
/libcore/luni/src/test/java/libcore/java/util/ |
H A D | WeakHashMapTest.java | 22 import java.util.WeakHashMap; 30 WeakHashMap<Data, String> map = new WeakHashMap<>();
|
H A D | EvilMapTest.java | 27 import java.util.WeakHashMap; 82 // Corrupt one WeakHashMap... 83 WeakHashMap<String, String> map = new WeakHashMap<String, String>(evil); 85 WeakHashMap<String, String> map2 = new WeakHashMap<String, String>();
|
H A D | TreeMapTest.java | 33 import java.util.WeakHashMap;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
H A D | AttributedStringTest.java | 25 import java.util.WeakHashMap; 144 as = new AttributedString("123", new WeakHashMap()); 165 AttributedString as = new AttributedString("123", new WeakHashMap());
|
/libcore/luni/src/test/java/libcore/java/text/ |
H A D | OldAttributedStringTest.java | 26 import java.util.WeakHashMap; 170 new WeakHashMap<AttributedCharacterIterator.Attribute, String>()); 185 Map<AttributedCharacterIterator.Attribute, String> whm = new WeakHashMap<AttributedCharacterIterator.Attribute, String>(); 307 as = new AttributedString("123", new WeakHashMap()); 329 AttributedString as = new AttributedString("123", new WeakHashMap()); 361 Map<AttributedCharacterIterator.Attribute, String> whm = new WeakHashMap<AttributedCharacterIterator.Attribute, String>();
|
/libcore/luni/src/main/java/libcore/reflect/ |
H A D | AnnotationFactory.java | 31 import java.util.WeakHashMap; 52 new WeakHashMap<Class<? extends Annotation>, AnnotationMember[]>();
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
H A D | CollectionAndMapModifyStreamTest.java | 119 maps.put(WeakHashMap.class.getName(), () -> new WeakHashMap<>(content));
|
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
H A D | DocumentImpl.java | 22 import java.util.WeakHashMap; 74 private WeakHashMap<NodeImpl, Map<String, UserData>> nodeToUserData; 497 nodeToUserData = new WeakHashMap<NodeImpl, Map<String, UserData>>();
|
/libcore/ojluni/src/main/java/java/lang/reflect/ |
H A D | Proxy.java | 43 import java.util.WeakHashMap; 244 = new WeakHashMap<>(); 255 Collections.synchronizedMap(new WeakHashMap<Class<?>, Void>());
|
/libcore/ojluni/src/main/java/java/util/zip/ |
H A D | ZipFile.java | 45 import java.util.WeakHashMap; 341 private final Map<InputStream, Inflater> streams = new WeakHashMap<>();
|
/libcore/ojluni/src/main/java/javax/crypto/ |
H A D | JceSecurity.java | 222 private static final Map codeBaseCacheRef = new WeakHashMap();
|
/libcore/ojluni/src/main/java/java/net/ |
H A D | URLClassLoader.java | 207 private WeakHashMap<Closeable,Void> 208 closeables = new WeakHashMap<>();
|
/libcore/ojluni/src/main/java/java/lang/ |
H A D | ClassLoader.java | 53 import java.util.WeakHashMap;
|
/libcore/ |
H A D | openjdk_java_files.mk | 884 ojluni/src/main/java/java/util/WeakHashMap.java \
|