Home
last modified time | relevance | path

Searched refs:containsValue (Results 1 – 25 of 40) sorted by relevance

12

/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
DIdentityHashMapTest.java49 assertTrue("testA can not find null value", map.containsValue(null)); in test_null_Keys_and_Values()
59 .containsValue(value)); in test_null_Keys_and_Values()
69 assertTrue("testC can not find null value", map.containsValue(null)); in test_null_Keys_and_Values()
78 .containsValue(anothervalue)); in test_null_Keys_and_Values()
88 .containsValue(anothervalue)); in test_null_Keys_and_Values()
123 .containsValue("value1")); in test_remove()
175 assertTrue("entry value not found in map", map.containsValue(entry in test_sets()
241 assertTrue("removed value incorrectly", map.containsValue(value)); in test_values()
248 .containsValue(value)); in test_values()
259 assertTrue("TestB. removed value incorrectly", map.containsValue(value)); in test_values()
[all …]
DAbstractMapTest.java196 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()
DIdentityHashMap2Test.java201 .containsValue(objArray[19])); in test_containsValueLjava_lang_Object()
203 .containsValue(new Integer(-9))); in test_containsValueLjava_lang_Object()
218 && hm.containsValue(m.getValue())); in test_entrySet()
438 !myIdentityHashMap.containsValue(objArray2[0])); in test_values()
DHashMapTest.java190 assertTrue(map2.containsValue("a")); in test_ConstructorLjava_util_Map()
285 .containsValue(new Integer(875))); in test_containsValueLjava_lang_Object()
287 .containsValue(new Integer(-9))); in test_containsValueLjava_lang_Object()
302 && hm.containsValue(m.getValue())); in test_entrySet()
370 assertTrue("Failed to find proxy object as value", hm.containsValue(proxyValue)); in test_proxies()
659 !myHashMap.containsValue(new Integer(0))); in test_values()
DTreeMapTest.java243 .containsValue(objArray[986])); in test_containsValueLjava_lang_Object()
245 .containsValue(new Object())); in test_containsValueLjava_lang_Object()
306 && head.containsValue(new Integer("1")) in test_headMapLjava_lang_Object()
627 assertTrue(map.containsValue(entry.getValue())); in test_subMap_Iterator()
655 .containsValue(objArray[i])); in test_tailMapLjava_lang_Object()
760 !myTreeMap.containsValue(new Integer(0))); in test_values()
790 !myTreeMap.containsValue(objArray[300])); in test_subMap_values_size()
806 !myTreeMap.containsValue(objArray[300])); in test_subMap_values_size()
822 !myTreeMap.containsValue(objArray[600])); in test_subMap_values_size()
839 !myTreeMap.containsValue(objArray[600])); in test_subMap_values_size()
[all …]
DEnumMapTest.java301 .containsValue(double1)); in test_containsValueLjava_lang_Object()
305 .containsValue(double1)); in test_containsValueLjava_lang_Object()
307 .containsValue(double2)); in test_containsValueLjava_lang_Object()
309 .containsValue(2)); in test_containsValueLjava_lang_Object()
311 .containsValue(1)); in test_containsValueLjava_lang_Object()
314 .containsValue(null)); in test_containsValueLjava_lang_Object()
317 .containsValue(null)); in test_containsValueLjava_lang_Object()
DLinkedHashMapTest.java221 && hm.containsValue(m.getValue())); in test_entrySet()
300 !myLinkedHashMap.containsValue(new Integer(0))); in test_values()
426 .containsValue(new Integer(875))); in test_containsValueLjava_lang_Object()
428 .containsValue(new Integer(-9))); in test_containsValueLjava_lang_Object()
DSortedMapTestBase.java71 assertEquals(ref.containsValue(value), map.containsValue(value)); in testContainsValue()
DHashtableTest.java181 assertTrue("Returned false for valid value", ht10.containsValue(e in test_containsValueLjava_lang_Object()
184 .containsValue(new Object())); in test_containsValueLjava_lang_Object()
685 !myHashtable.containsValue(new Integer(0))); in test_values()
/external/apache-harmony/support/src/test/java/tests/support/
DSupport_UnmodifiableMapTest.java54 .containsValue(new Integer(0))); in runTest()
56 .containsValue(new Integer(50))); in runTest()
58 .containsValue(new Integer(100))); in runTest()
/external/guava/src/com/google/common/collect/
DForwardingMap.java64 public boolean containsValue(Object value) { in containsValue() method in ForwardingMap
65 return delegate().containsValue(value); in containsValue()
DForwardingMultimap.java60 public boolean containsValue(@Nullable Object value) { in containsValue() method in ForwardingMultimap
61 return delegate().containsValue(value); in containsValue()
DRegularImmutableMap.java100 @Override public boolean containsValue(Object value) { in containsValue() method in RegularImmutableMap
200 return map.containsValue(target); in contains()
DAbstractBiMap.java87 @Override public boolean containsValue(Object value) { in containsValue() method in AbstractBiMap
109 checkArgument(!containsValue(value), "value already present: %s", value); in putInBothMaps()
314 checkArgument(!containsValue(value),
DEmptyImmutableMap.java53 @Override public boolean containsValue(Object value) { in containsValue() method in EmptyImmutableMap
DMultimap.java82 boolean containsValue(@Nullable Object value); in containsValue() method
DSynchronized.java652 public boolean containsValue(Object value) { in containsValue() method in Synchronized.SynchronizedMultimap
654 return delegate().containsValue(value); in containsValue()
1133 public boolean containsValue(Object value) {
1135 return delegate().containsValue(value);
1336 @Override public boolean containsValue(Object o) {
DSingletonImmutableMap.java74 @Override public boolean containsValue(Object value) { in containsValue() method in SingletonImmutableMap
DCustomConcurrentHashMap.java845 boolean containsValue(Object value) { in containsValue() method in CustomConcurrentHashMap.Impl.Segment
1361 @Override public boolean containsValue(Object value) { in containsValue() method in CustomConcurrentHashMap.Impl
1378 if (segments[i].containsValue(value)) { in containsValue()
1404 if (segment.containsValue(value)) { in containsValue()
1832 return Impl.this.containsValue(o); in contains()
DImmutableBiMap.java222 @Override public boolean containsValue(@Nullable Object value) { in containsValue() method in ImmutableBiMap
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/
DAttributesTest.java76 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()
277 assertFalse(attribute.containsValue(null)); in test_putLjava_lang_ObjectLjava_lang_Object_Null()
282 assertTrue(attribute.containsValue(null)); in test_putLjava_lang_ObjectLjava_lang_Object_Null()
/external/nist-sip/java/gov/nist/core/
DNameValueList.java294 public boolean containsValue(Object value) { in containsValue() method in NameValueList
295 return this.hmap.containsValue(value); in containsValue()
DMultiValueMapImpl.java55 public boolean containsValue(Object value) { in containsValue() method in MultiValueMapImpl
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
DSystemTest.java327 map.containsValue(null); in testEnvUnmodifiable()
334 map.containsValue(new Integer(10)); in testEnvUnmodifiable()
/external/clang/include/clang/Driver/
DArg.h94 bool containsValue(llvm::StringRef Value) const { in containsValue() function

12