Searched refs:whm (Results 1 - 2 of 2) sorted by relevance

/dalvik/libcore/luni/src/test/java/tests/api/java/util/
H A DWeakHashMapTest.java51 WeakHashMap whm; field in class:WeakHashMapTest
74 whm = new WeakHashMap();
76 whm.put(keyArray[i], valueArray[i]);
79 whm.get(keyArray[i]) == valueArray[i]);
102 whm = new WeakHashMap(50);
104 whm.put(keyArray[i], valueArray[i]);
107 whm.get(keyArray[i]) == valueArray[i]);
141 whm = new WeakHashMap(50, 0.5f);
143 whm.put(keyArray[i], valueArray[i]);
146 whm
[all...]
/dalvik/libcore/text/src/test/java/org/apache/harmony/text/tests/java/text/
H A DAttributedStringTest.java256 Map<AttributedCharacterIterator.Attribute, String> whm = new WeakHashMap<AttributedCharacterIterator.Attribute, String>();
257 whm.put(new TestAttributedCharacterIteratorAttribute("test"),
259 new AttributedString("", whm);
450 Map<AttributedCharacterIterator.Attribute, String> whm = new WeakHashMap<AttributedCharacterIterator.Attribute, String>();
454 whm.put(new TestAttributedCharacterIteratorAttribute("test1"),
456 whm.put(new TestAttributedCharacterIteratorAttribute("test2"),
458 whm.put(new TestAttributedCharacterIteratorAttribute("test3"),
460 as.addAttributes(whm, 0, 3);
476 as.addAttributes(whm, 0, 0);

Completed in 261 milliseconds