HomeSort by relevance Sort by last modified time
    Searched refs:containsValue (Results 1 - 25 of 182) sorted by null

1 2 3 4 5 6 7 8

  /external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
MapContainsValueTester.java 28 * A generic JUnit test which tests {@code containsValue()} operations on a map.
40 assertTrue("containsValue(present) should return true",
41 getMap().containsValue(samples.e0.getValue()));
45 assertFalse("containsValue(notPresent) should return false",
46 getMap().containsValue(samples.e3.getValue()));
51 assertFalse("containsValue(null) should return false",
52 getMap().containsValue(null));
58 "containsValue(null) should return false or throw");
65 assertFalse("containsValue(notPresent) should return false",
66 getMap().containsValue(samples.e3.getValue()))
    [all...]
  /external/guava/guava-tests/test/com/google/common/collect/
AbstractTableReadTest.java 90 assertTrue(table.containsValue('a'));
91 assertTrue(table.containsValue('b'));
92 assertTrue(table.containsValue('c'));
93 assertFalse(table.containsValue('x'));
94 assertFalse(table.containsValue(null));
AbstractBiMapTest.java 75 assertFalse(bimap.containsValue(null));
76 assertFalse(bimap.containsValue(1));
77 assertFalse(bimap.containsValue("one"));
80 assertTrue(bimap.containsValue("one"));
83 assertTrue(bimap.containsValue(null));
180 assertTrue(bimap.containsValue(null));
182 assertTrue(bimap.containsValue(null));
320 assertTrue(bimap.containsValue("one"));
323 assertFalse(bimap.containsValue("one"));
335 assertTrue(bimap.containsValue("one"))
    [all...]
ArrayTableTest.java 98 assertTrue(table.containsValue('a'));
99 assertTrue(table.containsValue('b'));
100 assertTrue(table.containsValue('c'));
101 assertFalse(table.containsValue('x'));
102 assertTrue(table.containsValue(null));
349 assertFalse(table.containsValue('z'));
359 assertFalse(table.containsValue('a'));
376 assertFalse(table.containsValue('d'));
SingletonImmutableTableTest.java 102 assertTrue(testTable.containsValue("blah"));
103 assertFalse(testTable.containsValue(""));
RegularImmutableTableTest.java 80 assertTrue(testInstance.containsValue("foo"));
81 assertTrue(testInstance.containsValue("bar"));
82 assertTrue(testInstance.containsValue("baz"));
83 assertFalse(testInstance.containsValue("blah"));
MapConstraintsTest.java 467 assertFalse(map.containsValue(TEST_VALUE));
479 assertFalse(map.containsValue(TEST_VALUE));
481 assertFalse(map.containsValue(TEST_VALUE));
501 assertFalse(multimap.containsValue(TEST_VALUE));
516 assertFalse(multimap.containsValue(TEST_VALUE));
528 assertFalse(multimap.containsValue(TEST_VALUE));
530 assertFalse(multimap.containsValue(TEST_VALUE));
542 assertFalse(multimap.containsValue(TEST_VALUE));
544 assertFalse(multimap.containsValue(TEST_VALUE));
557 assertFalse(multimap.containsValue(TEST_VALUE))
    [all...]
  /external/apache-harmony/support/src/test/java/tests/support/
Support_UnmodifiableMapTest.java 52 // containsValue
54 .containsValue(new Integer(0)));
56 .containsValue(new Integer(50)));
58 .containsValue(new Integer(100)));
  /external/guava/guava-gwt/src-super/java/util/super/java/util/concurrent/
ConcurrentHashMap.java 115 @Override public boolean containsValue(Object value) {
119 return backingMap.containsValue(value);
134 return containsValue(value);
  /libcore/support/src/test/java/tests/support/
Support_UnmodifiableMapTest.java 52 // containsValue
54 .containsValue(new Integer(0)));
56 .containsValue(new Integer(50)));
58 .containsValue(new Integer(100)));
  /libcore/luni/src/main/java/java/util/
Map.java 112 public boolean containsValue(Object value);
243 * {@link #containsValue} method.
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
IdentityHashMapTest.java 37 * @tests java.util.IdentityHashMap#containsValue(java.lang.Object)
49 assertTrue("testA can not find null value", map.containsValue(null));
59 .containsValue(value));
69 assertTrue("testC can not find null value", map.containsValue(null));
78 .containsValue(anothervalue));
88 .containsValue(anothervalue));
123 .containsValue("value1"));
175 assertTrue("entry value not found in map", map.containsValue(entry
241 assertTrue("removed value incorrectly", map.containsValue(value));
248 .containsValue(value))
    [all...]
AbstractMapTest.java 191 * @tests java.util.AbstractMap#containsValue(Object)
196 assertFalse(map.containsValue("v"));
197 assertFalse(map.containsValue(null));
203 assertTrue(map.containsValue("v"));
204 assertTrue(map.containsValue("value"));
205 assertTrue(map.containsValue(null));
  /external/guava/guava-tests/test/com/google/common/cache/
CacheManualTest.java 48 assertFalse(cache.asMap().containsValue(two));
58 assertFalse(cache.asMap().containsValue(one));
70 assertTrue(cache.asMap().containsValue(two));
80 assertFalse(cache.asMap().containsValue(one));
92 assertTrue(cache.asMap().containsValue(two));
102 assertTrue(cache.asMap().containsValue(one));
  /libcore/luni/src/test/java/libcore/java/util/
OldAndroidHashMapTest.java 72 assertFalse(map.containsValue(new Integer(1)));
92 assertTrue(map.containsValue(new Integer(0)));
93 assertTrue(map.containsValue(new Integer(1)));
94 assertTrue(map.containsValue(new Integer(2)));
95 assertTrue(map.containsValue(new Integer(3)));
107 assertFalse(map.containsValue(new Integer(1)));
  /external/guava/guava/src/com/google/common/collect/
ForwardingMultimap.java 67 public boolean containsValue(@Nullable Object value) {
68 return delegate().containsValue(value);
ForwardingTable.java 85 public boolean containsValue(Object value) {
86 return delegate().containsValue(value);
HashBasedTable.java 128 @Override public boolean containsValue(@Nullable Object value) {
129 return super.containsValue(value);
EmptyImmutableMap.java 54 @Override public boolean containsValue(@Nullable Object value) {
Multimap.java 82 boolean containsValue(@Nullable Object value);
ForwardingMap.java 94 public boolean containsValue(Object value) {
95 return delegate().containsValue(value);
223 * methods: {@link ForwardingMap#clear}, {@link ForwardingMap#containsValue},
242 * A sensible definition of {@link #containsValue} in terms of the {@code
244 * you may wish to override {@link #containsValue} to forward to this
  /external/guava/guava-testlib/src/com/google/common/collect/testing/
ConcurrentMapInterfaceTest.java 86 assertTrue(map.containsValue(valueToPut));
117 assertTrue(map.containsValue(oldValue));
118 assertFalse(map.containsValue(valueToPut));
428 assertTrue(map.containsValue(newValue));
457 assertFalse(map.containsValue(newValue));
590 assertTrue(map.containsValue(newValue));
591 assertFalse(map.containsValue(oldValue));
630 assertFalse(map.containsValue(newValue));
631 assertFalse(map.containsValue(oldValue));
662 assertFalse(map.containsValue(newValue))
    [all...]
  /external/clang/include/clang/Driver/
Arg.h 106 bool containsValue(StringRef Value) const {
  /external/llvm/include/llvm/Option/
Arg.h 105 bool containsValue(StringRef Value) const {
  /frameworks/base/core/java/android/net/
LinkCapabilities.java 262 public boolean containsValue(String value) {
263 return mCapabilities.containsValue(value);

Completed in 799 milliseconds

1 2 3 4 5 6 7 8