Home
last modified time | relevance | path

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

1234

/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
DMapContainsValueTester.java41 getMap().containsValue(samples.e0.getValue())); in testContains_yes()
46 getMap().containsValue(samples.e3.getValue())); in testContains_no()
52 getMap().containsValue(null)); in testContains_nullNotContainedButAllowed()
66 getMap().containsValue(samples.e3.getValue())); in testContains_nonNullWhenNullContained()
74 getMap().containsValue(null)); in testContains_nullContained()
81 getMap().containsValue(WrongType.VALUE)); in testContains_wrongType()
/external/guava/guava-tests/test/com/google/common/collect/
DAbstractBiMapTest.java75 assertFalse(bimap.containsValue(null)); in testContainsValue()
76 assertFalse(bimap.containsValue(1)); in testContainsValue()
77 assertFalse(bimap.containsValue("one")); in testContainsValue()
80 assertTrue(bimap.containsValue("one")); in testContainsValue()
83 assertTrue(bimap.containsValue(null)); in testContainsValue()
180 assertTrue(bimap.containsValue(null)); in testPutNull()
182 assertTrue(bimap.containsValue(null)); in testPutNull()
320 assertTrue(bimap.containsValue("one")); in testEntrySetRemove()
323 assertFalse(bimap.containsValue("one")); in testEntrySetRemove()
335 assertTrue(bimap.containsValue("one")); in testEntrySetRemoveAll()
[all …]
DAbstractTableReadTest.java90 assertTrue(table.containsValue('a')); in testContainsValue()
91 assertTrue(table.containsValue('b')); in testContainsValue()
92 assertTrue(table.containsValue('c')); in testContainsValue()
93 assertFalse(table.containsValue('x')); in testContainsValue()
94 assertFalse(table.containsValue(null)); in testContainsValue()
DArrayTableTest.java98 assertTrue(table.containsValue('a')); in testContainsValue()
99 assertTrue(table.containsValue('b')); in testContainsValue()
100 assertTrue(table.containsValue('c')); in testContainsValue()
101 assertFalse(table.containsValue('x')); in testContainsValue()
102 assertTrue(table.containsValue(null)); in testContainsValue()
349 assertFalse(table.containsValue('z')); in testSet()
359 assertFalse(table.containsValue('a')); in testEraseAll()
376 assertFalse(table.containsValue('d')); in testPutIllegal()
DRegularImmutableTableTest.java80 assertTrue(testInstance.containsValue("foo")); in testContainsValue()
81 assertTrue(testInstance.containsValue("bar")); in testContainsValue()
82 assertTrue(testInstance.containsValue("baz")); in testContainsValue()
83 assertFalse(testInstance.containsValue("blah")); in testContainsValue()
DMapConstraintsTest.java467 assertFalse(map.containsValue(TEST_VALUE)); in testMapEntrySetToArray()
479 assertFalse(map.containsValue(TEST_VALUE)); in testMapEntrySetContainsNefariousEntry()
481 assertFalse(map.containsValue(TEST_VALUE)); in testMapEntrySetContainsNefariousEntry()
501 assertFalse(multimap.containsValue(TEST_VALUE)); in testMultimapAsMapEntriesToArray()
516 assertFalse(multimap.containsValue(TEST_VALUE)); in testMultimapAsMapValuesToArray()
528 assertFalse(multimap.containsValue(TEST_VALUE)); in testMultimapEntriesContainsNefariousEntry()
530 assertFalse(multimap.containsValue(TEST_VALUE)); in testMultimapEntriesContainsNefariousEntry()
542 assertFalse(multimap.containsValue(TEST_VALUE)); in testMultimapEntriesRemoveNefariousEntry()
544 assertFalse(multimap.containsValue(TEST_VALUE)); in testMultimapEntriesRemoveNefariousEntry()
557 assertFalse(multimap.containsValue(TEST_VALUE)); in testMultimapAsMapEntriesContainsNefariousEntry()
[all …]
DSynchronizedMapTest.java86 @Override public boolean containsValue(Object value) { in containsValue() method in SynchronizedMapTest.TestMap
88 return super.containsValue(value); in containsValue()
167 create().containsValue(null); in testContainsValue()
DSingletonImmutableTableTest.java102 assertTrue(testTable.containsValue("blah")); in testContainsValue()
103 assertFalse(testTable.containsValue("")); in testContainsValue()
DForwardingMapTest.java63 @Override public boolean containsValue(Object value) { in containsValue() method in ForwardingMapTest.StandardImplForwardingMap
198 forward().containsValue(false);
324 expect(map.containsValue(anyObject())).andReturn(false).anyTimes();
/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()
/external/guava/guava-tests/test/com/google/common/cache/
DCacheManualTest.java48 assertFalse(cache.asMap().containsValue(two)); in testGetIfPresent()
58 assertFalse(cache.asMap().containsValue(one)); in testGetIfPresent()
70 assertTrue(cache.asMap().containsValue(two)); in testGetIfPresent()
80 assertFalse(cache.asMap().containsValue(one)); in testGetIfPresent()
92 assertTrue(cache.asMap().containsValue(two)); in testGetIfPresent()
102 assertTrue(cache.asMap().containsValue(one)); in testGetIfPresent()
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DConcurrentMapInterfaceTest.java86 assertTrue(map.containsValue(valueToPut)); in testPutIfAbsentNewKey()
117 assertTrue(map.containsValue(oldValue)); in testPutIfAbsentExistingKey()
118 assertFalse(map.containsValue(valueToPut)); in testPutIfAbsentExistingKey()
428 assertTrue(map.containsValue(newValue)); in testReplace2ExistingKey()
457 assertFalse(map.containsValue(newValue)); in testReplace2MissingKey()
590 assertTrue(map.containsValue(newValue)); in testReplace3ExistingKeyValue()
591 assertFalse(map.containsValue(oldValue)); in testReplace3ExistingKeyValue()
630 assertFalse(map.containsValue(newValue)); in testReplace3ExistingKeyDifferentValue()
631 assertFalse(map.containsValue(oldValue)); in testReplace3ExistingKeyDifferentValue()
662 assertFalse(map.containsValue(newValue)); in testReplace3MissingKey()
[all …]
DAbstractMapTester.java70 getMap().containsValue(element)); in expectMissingValues()
147 assertFalse(message, getMap().containsValue(null)); in expectNullValueMissingWhenNullValuesUnsupported()
178 getMap().containsValue(entry.getValue())); in expectMissing()
DMapInterfaceTest.java193 assertTrue(map.containsValue(value)); in assertInvariants()
206 assertTrue(map.containsValue(value)); in assertInvariants()
220 assertTrue(map.containsValue(entry.getValue())); in assertInvariants()
329 assertFalse(map.containsValue(unmappedValue)); in testContainsValue()
330 assertTrue(map.containsValue(map.values().iterator().next())); in testContainsValue()
332 map.containsValue(null); in testContainsValue()
1017 assertTrue(map.containsValue(valueToPut)); in testPutNewKey()
1047 assertTrue(map.containsValue(valueToPut)); in testPutExistingKey()
1077 assertTrue(map.containsValue(valueToPut)); in testPutNullKey()
1107 assertTrue(map.containsValue(null)); in testPutNullValue()
[all …]
/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/guava-gwt/src-super/java/util/super/java/util/concurrent/
DConcurrentHashMap.java115 @Override public boolean containsValue(Object value) { in containsValue() method in ConcurrentHashMap
119 return backingMap.containsValue(value); in containsValue()
134 return containsValue(value); in contains()
/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/guava/guava/src/com/google/common/collect/
DForwardingMultimap.java67 public boolean containsValue(@Nullable Object value) { in containsValue() method in ForwardingMultimap
68 return delegate().containsValue(value); in containsValue()
DForwardingTable.java85 public boolean containsValue(Object value) { in containsValue() method in ForwardingTable
86 return delegate().containsValue(value); in containsValue()
DHashBasedTable.java128 @Override public boolean containsValue(@Nullable Object value) { in containsValue() method in HashBasedTable
129 return super.containsValue(value); in containsValue()
DForwardingMap.java94 public boolean containsValue(Object value) { in containsValue() method in ForwardingMap
95 return delegate().containsValue(value); in containsValue()
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/
DPhysicsSpace.java457 if (!physicsNodes.containsValue(physicsNode)) { in addAll()
465 if (!physicsNodes.containsValue(physicsJoint.getBodyA())) { in addAll()
472 if (!physicsNodes.containsValue(physicsJoint.getBodyB())) { in addAll()
504 if (physicsNodes.containsValue(physicsNode)) { in removeAll()
512 if (physicsNodes.containsValue(physicsJoint.getBodyA())) { in removeAll()
519 if (physicsNodes.containsValue(physicsJoint.getBodyB())) { in removeAll()

1234