/libcore/luni/src/test/java/libcore/java/util/ |
D | OldAndroidHashMapTest.java | 72 assertFalse(map.containsValue(new Integer(1))); in testManipulate() 92 assertTrue(map.containsValue(new Integer(0))); in testManipulate() 93 assertTrue(map.containsValue(new Integer(1))); in testManipulate() 94 assertTrue(map.containsValue(new Integer(2))); in testManipulate() 95 assertTrue(map.containsValue(new Integer(3))); in testManipulate() 107 assertFalse(map.containsValue(new Integer(1))); in testManipulate()
|
D | OldMapEntryTest.java | 44 assertTrue(hm.containsValue(me.getValue())); in testGetValue()
|
D | OldTreeMapTest.java | 216 && head.containsValue(new Integer("1")) in test_headMapLjava_lang_Object() 459 .containsValue(objArray[i])); in test_tailMapLjava_lang_Object()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | IdentityHashMapTest.java | 191 .containsValue(objArray[19])); in test_containsValueLjava_lang_Object() 193 .containsValue(new Integer(-9))); in test_containsValueLjava_lang_Object() 208 && hm.containsValue(m.getValue())); in test_entrySet() 512 assertTrue("testA can not find null value", map.containsValue(null)); in test_null_Keys_and_Values() 522 .containsValue(value)); in test_null_Keys_and_Values() 532 assertTrue("testC can not find null value", map.containsValue(null)); in test_null_Keys_and_Values() 541 .containsValue(anothervalue)); in test_null_Keys_and_Values() 551 .containsValue(anothervalue)); in test_null_Keys_and_Values() 569 .containsValue("value1")); in test_remove() 602 assertTrue("entry value not found in map", map.containsValue(entry in test_sets() [all …]
|
D | AbstractMapTest.java | 196 assertFalse(map.containsValue("v")); in test_containValue() 197 assertFalse(map.containsValue(null)); in test_containValue() 203 assertTrue(map.containsValue("v")); in test_containValue() 204 assertTrue(map.containsValue("value")); in test_containValue() 205 assertTrue(map.containsValue(null)); in test_containValue()
|
D | IdentityHashMap2Test.java | 202 .containsValue(objArray[19])); in test_containsValueLjava_lang_Object() 204 .containsValue(new Integer(-9))); in test_containsValueLjava_lang_Object() 219 && hm.containsValue(m.getValue())); in test_entrySet() 438 !myIdentityHashMap.containsValue(objArray2[0])); in test_values()
|
D | TreeMapTest.java | 232 .containsValue(objArray[986])); in test_containsValueLjava_lang_Object() 234 .containsValue(new Object())); in test_containsValueLjava_lang_Object() 295 && head.containsValue(new Integer("1")) in test_headMapLjava_lang_Object() 591 assertTrue(map.containsValue(entry.getValue())); in test_subMap_Iterator() 619 .containsValue(objArray[i])); in test_tailMapLjava_lang_Object() 724 !myTreeMap.containsValue(new Integer(0))); in test_values() 754 !myTreeMap.containsValue(objArray[300])); in test_subMap_values_size() 770 !myTreeMap.containsValue(objArray[300])); in test_subMap_values_size() 786 !myTreeMap.containsValue(objArray[600])); in test_subMap_values_size() 803 !myTreeMap.containsValue(objArray[600])); in test_subMap_values_size() [all …]
|
D | HashtableTest.java | 215 assertTrue("Returned false for valid value", ht10.containsValue(e in test_containsValueLjava_lang_Object() 218 .containsValue(new Object())); in test_containsValueLjava_lang_Object() 221 ht10.containsValue(null); in test_containsValueLjava_lang_Object() 770 !myHashtable.containsValue(new Integer(0))); in test_values()
|
D | EnumMapTest.java | 303 .containsValue(double1)); in test_containsValueLjava_lang_Object() 307 .containsValue(double1)); in test_containsValueLjava_lang_Object() 309 .containsValue(double2)); in test_containsValueLjava_lang_Object() 311 .containsValue(2)); in test_containsValueLjava_lang_Object() 313 .containsValue(1)); in test_containsValueLjava_lang_Object() 316 .containsValue(null)); in test_containsValueLjava_lang_Object() 319 .containsValue(null)); in test_containsValueLjava_lang_Object()
|
D | HashMapTest.java | 259 .containsValue(new Integer(875))); in test_containsValueLjava_lang_Object() 261 .containsValue(new Integer(-9))); in test_containsValueLjava_lang_Object() 276 && hm.containsValue(m.getValue())); in test_entrySet() 609 !myHashMap.containsValue(new Integer(0))); in test_values()
|
D | CollectionsTest.java | 189 || (map.containsValue(firstNormalValue) && map in run() 190 .containsValue(lastNormalValue)) || (map in run() 191 .containsValue(firstOffsetValue) && map in run() 192 .containsValue(lastOffsetValue)))) in run() 1964 assertTrue(single.containsValue(value)); in test_singletonMapLjava_lang_Object() 1966 assertFalse(single.containsValue(null)); in test_singletonMapLjava_lang_Object() 1968 assertFalse(Collections.singletonMap(null, null).containsValue(value)); in test_singletonMapLjava_lang_Object() 1970 assertTrue(Collections.singletonMap(null, null).containsValue(null)); in test_singletonMapLjava_lang_Object() 2262 assertTrue("Should contain the value 0", map.containsValue(0)); in testContents() 2263 assertTrue("Should contain the value 50", map.containsValue(50)); in testContents() [all …]
|
D | LinkedHashMapTest.java | 228 && hm.containsValue(m.getValue())); in test_entrySet() 321 !myLinkedHashMap.containsValue(new Integer(0))); in test_values() 489 .containsValue(new Integer(875))); in test_containsValueLjava_lang_Object() 491 .containsValue(new Integer(-9))); in test_containsValueLjava_lang_Object()
|
D | SortedMapTestBase.java | 71 assertEquals(ref.containsValue(value), map.containsValue(value)); in testContainsValue()
|
/libcore/support/src/test/java/tests/support/ |
D | Support_MapTest.java | 70 assertTrue("Should contain the value 0", map.containsValue(0)); in testContents() 71 assertTrue("Should contain the value 50", map.containsValue(50)); in testContents() 72 assertTrue("Should not contain value 100", !map.containsValue(100)); in testContents()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/ |
D | AttributesTest.java | 76 assertTrue("Should have returned false", !a.containsValue("One")); in test_containsValueLjava_lang_Object() 77 assertTrue("Should have returned true", a.containsValue("one")); in test_containsValueLjava_lang_Object() 253 assertFalse(attribute.containsValue(null)); in test_putLjava_lang_ObjectLjava_lang_Object_Null() 258 assertTrue(attribute.containsValue(null)); in test_putLjava_lang_ObjectLjava_lang_Object_Null()
|
/libcore/luni/src/main/java/java/util/ |
D | Map.java | 112 public boolean containsValue(Object value); in containsValue() method
|
D | AbstractMap.java | 213 public boolean containsValue(Object value) { in containsValue() method in AbstractMap 474 return containsValue(object); in values()
|
D | WeakHashMap.java | 428 return containsValue(object); 508 public boolean containsValue(Object value) {
|
D | IdentityHashMap.java | 354 public boolean containsValue(Object value) { 675 return containsValue(object);
|
D | Hashtable.java | 309 public synchronized boolean containsValue(Object value) { in containsValue() method in Hashtable 339 return containsValue(value); in contains() 971 return containsValue(o); in contains()
|
/libcore/luni/src/main/java/java/util/jar/ |
D | Attributes.java | 238 public boolean containsValue(Object value) { in containsValue() method in Attributes 239 return map.containsValue(value); in containsValue()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | ConcurrentHashMapTest.java | 185 assertTrue(map.containsValue("A")); in testContainsValue() 186 assertFalse(map.containsValue("Z")); in testContainsValue() 292 assertTrue(map.containsValue(((Map.Entry)(ar[i])).getValue())); in testEntrySetToArray() 503 c.containsValue(null); in testContainsValue_NullPointerException() 682 assertTrue(map.containsValue("XYZ")); // fails if write-through broken in testSetValueWriteThrough()
|
D | ConcurrentSkipListSubMapTest.java | 98 assertTrue(map.containsValue("A")); in testContainsValue() 99 assertFalse(map.containsValue("Z")); in testContainsValue() 516 c.containsValue(null); 772 assertTrue(map.containsValue("A")); 773 assertFalse(map.containsValue("Z")); 1190 c.containsValue(null);
|
D | ConcurrentSkipListMapTest.java | 76 assertTrue(map.containsValue("A")); in testContainsValue() 77 assertFalse(map.containsValue("Z")); in testContainsValue() 311 assertTrue(map.containsValue(((Map.Entry)(ar[i])).getValue())); 325 assertTrue(map.containsValue(((Map.Entry)(ar[i])).getValue())); 705 c.containsValue(null);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | SystemTest.java | 327 map.containsValue(null); in testEnvUnmodifiable() 334 map.containsValue(new Integer(10)); in testEnvUnmodifiable()
|