OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:containsValue
(Results
1 - 25
of
256
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
/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/luni/src/main/java/java/util/
Map.java
112
public boolean
containsValue
(Object value);
243
* {@link #
containsValue
} method.
/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
EmptyImmutableTable.java
98
@Override public boolean
containsValue
(@Nullable Object value) {
/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/llvm/include/llvm/Option/
Arg.h
102
bool
containsValue
(StringRef Value) const {
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/
AttributesTest.java
73
* java.util.jar.Attributes#
containsValue
(java.lang.Object)
76
assertTrue("Should have returned false", !a.
containsValue
("One"));
77
assertTrue("Should have returned true", a.
containsValue
("one"));
253
assertFalse(attribute.
containsValue
(null));
258
assertTrue(attribute.
containsValue
(null));
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
AbstractMapTest.java
191
* 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));
IdentityHashMapTest.java
185
* java.util.IdentityHashMap#
containsValue
(java.lang.Object)
189
// java.util.IdentityHashMap.
containsValue
(java.lang.Object)
191
.
containsValue
(objArray[19]));
193
.
containsValue
(new Integer(-9)));
208
&& hm.
containsValue
(m.getValue()));
500
* java.util.IdentityHashMap#
containsValue
(java.lang.Object)
512
assertTrue("testA can not find null value", map.
containsValue
(null));
522
.
containsValue
(value));
532
assertTrue("testC can not find null value", map.
containsValue
(null));
541
.
containsValue
(anothervalue))
[
all
...]
/libcore/luni/src/main/java/java/util/jar/
Attributes.java
238
public boolean
containsValue
(Object value) {
239
return map.
containsValue
(value);
Completed in 4958 milliseconds
1
2
3
4
5
6
7
8
9
10
11