Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/java/util/
DOldAndroidHashMapTest.java72 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()
DOldMapEntryTest.java44 assertTrue(hm.containsValue(me.getValue())); in testGetValue()
DOldTreeMapTest.java216 && head.containsValue(new Integer("1")) in test_headMapLjava_lang_Object()
459 .containsValue(objArray[i])); in test_tailMapLjava_lang_Object()
/libcore/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()
/libcore/luni/src/main/java/java/util/
DMap.java112 public boolean containsValue(Object value); in containsValue() method
DAbstractMap.java213 public boolean containsValue(Object value) { in containsValue() method in AbstractMap
474 return containsValue(object); in values()
DIdentityHashMap.java355 public boolean containsValue(Object value) {
676 return containsValue(object);
DWeakHashMap.java447 return containsValue(object);
527 public boolean containsValue(Object value) {
DHashtable.java314 public synchronized boolean containsValue(Object value) { in containsValue() method in Hashtable
344 return containsValue(value); in contains()
972 return containsValue(o); in contains()
DCollections.java139 @Override public boolean containsValue(Object value) { in containsValue() method in Collections.EmptyMap
303 @Override public boolean containsValue(Object value) { in containsValue() method in SingletonMap
324 && containsValue(entry.getValue()); in entrySet()
682 @Override public boolean containsValue(Object value) {
684 return m.containsValue(value);
1251 @Override public boolean containsValue(Object value) {
1252 return m.containsValue(value);
3102 @Override public boolean containsValue(Object value) {
3103 return m.containsValue(value);
DEnumMap.java252 return enumMap.containsValue(object);
510 public boolean containsValue(Object value) {
DLinkedHashMap.java304 @Override public boolean containsValue(Object value) { in containsValue() method in LinkedHashMap
DHashMap.java350 @Override public boolean containsValue(Object value) { in containsValue() method in HashMap
931 return containsValue(o); in contains()
/libcore/luni/src/main/java/java/util/jar/
DAttributes.java235 public boolean containsValue(Object value) { in containsValue() method in Attributes
236 return map.containsValue(value); in containsValue()
/libcore/luni/src/test/java/tests/api/java/util/
DIdentityHashMapTest.java190 .containsValue(objArray[19])); in test_containsValueLjava_lang_Object()
192 .containsValue(new Integer(-9))); in test_containsValueLjava_lang_Object()
207 && hm.containsValue(m.getValue())); in test_entrySet()
434 !myIdentityHashMap.containsValue(objArray2[0])); in test_values()
DHashMapTest.java205 .containsValue(new Integer(875))); in test_containsValueLjava_lang_Object()
207 .containsValue(new Integer(-9))); in test_containsValueLjava_lang_Object()
222 && hm.containsValue(m.getValue())); in test_entrySet()
477 !myHashMap.containsValue(new Integer(0))); in test_values()
DHashtableTest.java231 assertTrue("Returned false for valid value", ht10.containsValue(e in test_containsValueLjava_lang_Object()
234 .containsValue(new Object())); in test_containsValueLjava_lang_Object()
237 ht10.containsValue(null); in test_containsValueLjava_lang_Object()
748 !myHashtable.containsValue(new Integer(0))); in test_values()
DEnumMapTest.java303 .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()
DLinkedHashMapTest.java228 && 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()
DCollectionsTest.java180 || (map.containsValue(firstNormalValue) && map in run()
181 .containsValue(lastNormalValue)) || (map in run()
182 .containsValue(firstOffsetValue) && map in run()
183 .containsValue(lastOffsetValue)))) in run()
2152 assertTrue(single.containsValue(value)); in test_singletonMapLjava_lang_Object()
2154 assertFalse(single.containsValue(null)); in test_singletonMapLjava_lang_Object()
2156 assertFalse(Collections.singletonMap(null, null).containsValue(value)); in test_singletonMapLjava_lang_Object()
2158 assertTrue(Collections.singletonMap(null, null).containsValue(null)); in test_singletonMapLjava_lang_Object()
DWeakHashMapTest.java177 .containsValue(valueArray[i])); in test_containsValueLjava_lang_Object()
/libcore/luni/src/main/java/java/util/concurrent/
DConcurrentHashMap.java361 boolean containsValue(Object value) { in containsValue() method in ConcurrentHashMap.Segment
796 public boolean containsValue(Object value) { in containsValue() method in ConcurrentHashMap
812 if (segments[i].containsValue(value)) in containsValue()
834 if (segments[i].containsValue(value)) { in containsValue()
862 return containsValue(value); in contains()
1198 return ConcurrentHashMap.this.containsValue(o); in contains()
DConcurrentSkipListMap.java1623 public boolean containsValue(Object value) { in containsValue() method in ConcurrentSkipListMap
2348 return m.containsValue(o); in contains()
2714 public boolean containsValue(Object value) { in containsValue() method in ConcurrentSkipListMap.SubMap
/libcore/luni/src/main/java/java/lang/
DSystem.java676 @Override public boolean containsValue(Object value) { in containsValue() method in System.SystemEnvironment
677 return map.containsValue(toNonNullString(value)); in containsValue()
/libcore/luni/src/main/java/org/apache/harmony/luni/util/
DTwoKeyHashMap.java543 return containsValue(obj); in contains()