/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 | 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 | IdentityHashMapTest.java | 195 .containsValue(objArray[19])); in test_containsValueLjava_lang_Object() 197 .containsValue(new Integer(-9))); in test_containsValueLjava_lang_Object() 212 && hm.containsValue(m.getValue())); in test_entrySet() 516 assertTrue("testA can not find null value", map.containsValue(null)); in test_null_Keys_and_Values() 526 .containsValue(value)); in test_null_Keys_and_Values() 536 assertTrue("testC can not find null value", map.containsValue(null)); in test_null_Keys_and_Values() 545 .containsValue(anothervalue)); in test_null_Keys_and_Values() 555 .containsValue(anothervalue)); in test_null_Keys_and_Values() 573 .containsValue("value1")); in test_remove() 606 assertTrue("entry value not found in map", map.containsValue(entry in test_sets() [all …]
|
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 | 234 .containsValue(objArray[986])); in test_containsValueLjava_lang_Object() 236 .containsValue(new Object())); in test_containsValueLjava_lang_Object() 297 && head.containsValue(new Integer("1")) in test_headMapLjava_lang_Object() 595 assertTrue(map.containsValue(entry.getValue())); in test_subMap_Iterator() 623 .containsValue(objArray[i])); in test_tailMapLjava_lang_Object() 728 !myTreeMap.containsValue(new Integer(0))); in test_values() 758 !myTreeMap.containsValue(objArray[300])); in test_subMap_values_size() 774 !myTreeMap.containsValue(objArray[300])); in test_subMap_values_size() 790 !myTreeMap.containsValue(objArray[600])); in test_subMap_values_size() 807 !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 | 312 .containsValue(double1)); in test_containsValueLjava_lang_Object() 316 .containsValue(double1)); in test_containsValueLjava_lang_Object() 318 .containsValue(double2)); in test_containsValueLjava_lang_Object() 320 .containsValue(2)); in test_containsValueLjava_lang_Object() 322 .containsValue(1)); in test_containsValueLjava_lang_Object() 325 .containsValue(null)); in test_containsValueLjava_lang_Object() 328 .containsValue(null)); in test_containsValueLjava_lang_Object()
|
D | CollectionsTest.java | 190 || (map.containsValue(firstNormalValue) && map in run() 191 .containsValue(lastNormalValue)) || (map in run() 192 .containsValue(firstOffsetValue) && map in run() 193 .containsValue(lastOffsetValue)))) in run() 1984 assertTrue(single.containsValue(value)); in test_singletonMapLjava_lang_Object() 1986 assertFalse(single.containsValue(null)); in test_singletonMapLjava_lang_Object() 1988 assertFalse(Collections.singletonMap(null, null).containsValue(value)); in test_singletonMapLjava_lang_Object() 1990 assertTrue(Collections.singletonMap(null, null).containsValue(null)); in test_singletonMapLjava_lang_Object() 2284 assertTrue("Should contain the value 0", map.containsValue(0)); in testContents() 2285 assertTrue("Should contain the value 50", map.containsValue(50)); in testContents() [all …]
|
D | SortedMapTestBase.java | 71 assertEquals(ref.containsValue(value), map.containsValue(value)); in testContainsValue()
|
D | HashMapTest.java | 264 .containsValue(new Integer(875))); in test_containsValueLjava_lang_Object() 266 .containsValue(new Integer(-9))); in test_containsValueLjava_lang_Object() 281 && hm.containsValue(m.getValue())); in test_entrySet() 615 !myHashMap.containsValue(new Integer(0))); in test_values()
|
D | LinkedHashMapTest.java | 234 && hm.containsValue(m.getValue())); in test_entrySet() 327 !myLinkedHashMap.containsValue(new Integer(0))); in test_values() 495 .containsValue(new Integer(875))); in test_containsValueLjava_lang_Object() 497 .containsValue(new Integer(-9))); in test_containsValueLjava_lang_Object()
|
/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/jsr166-tests/src/test/java/jsr166/ |
D | ConcurrentHashMapTest.java | 269 assertTrue(map.containsValue("A")); in testContainsValue() 270 assertFalse(map.containsValue("Z")); in testContainsValue() 377 assertTrue(map.containsValue(((Map.Entry)(ar[i])).getValue())); in testEntrySetToArray() 628 c.containsValue(null); in testContainsValue_NullPointerException() 807 assertTrue(map.containsValue("XYZ")); // fails if write-through broken in testSetValueWriteThrough()
|
D | ConcurrentSkipListSubMapTest.java | 116 assertTrue(map.containsValue("A")); in testContainsValue() 117 assertFalse(map.containsValue("Z")); in testContainsValue() 534 c.containsValue(null); 790 assertTrue(map.containsValue("A")); 791 assertFalse(map.containsValue("Z")); 1208 c.containsValue(null);
|
/libcore/ojluni/annotations/mmodule/java/util/ |
D | LinkedHashMap.annotated.java | 43 public boolean containsValue(java.lang.Object value) { throw new RuntimeException("Stub!"); } in containsValue() method in LinkedHashMap
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | ConcurrentHashMapTest.java | 294 assertTrue(map.containsValue("A")); in testContainsValue() 295 assertFalse(map.containsValue("Z")); in testContainsValue() 417 assertTrue(map.containsValue(((Map.Entry)(ar[i])).getValue())); in testEntrySetToArray() 668 c.containsValue(null); in testContainsValue_NullPointerException() 847 assertTrue(map.containsValue("XYZ")); // fails if write-through broken in testSetValueWriteThrough()
|
/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()
|
/libcore/ojluni/src/main/java/java/util/jar/ |
D | Attributes.java | 190 public boolean containsValue(Object value) { in containsValue() method in Attributes 191 return map.containsValue(value); in containsValue()
|
/libcore/ojluni/annotations/sdk/nullability/java/util/ |
D | WeakHashMap.annotated.java | 59 public boolean containsValue(@libcore.util.Nullable java.lang.Object value) { throw new RuntimeExce… in containsValue() method in WeakHashMap
|
D | AbstractMap.annotated.java | 40 public boolean containsValue(@libcore.util.Nullable java.lang.Object value) { throw new RuntimeExce… in containsValue() method in AbstractMap
|
/libcore/ojluni/src/main/java/java/util/ |
D | AbstractMap.java | 111 public boolean containsValue(Object value) { in containsValue() method in AbstractMap 440 return AbstractMap.this.containsValue(v); in values()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | ProcessEnvironment.java | 235 public boolean containsValue(Object value) { in containsValue() method in ProcessEnvironment.StringEnvironment 236 return m.containsValue(Value.valueOfQueryOnly(value)); in containsValue()
|