MCPcopy Create free account
hub / github.com/GateNLP/gate-core / containsValue

Method containsValue

src/main/java/gate/util/RBTreeMap.java:166–170  ·  view source on GitHub ↗

Returns true if this map maps one or more keys to the specified value. More formally, returns true if and only if this map contains at least one mapping to a value v such that (value==null ? v==null : value.equals(v)) . This operation will probably require time l

(Object value)

Source from the content-addressed store, hash-verified

164 * @since JDK1.2
165 */
166 @Override
167 public boolean containsValue(Object value) {
168 return (value==null ? valueSearchNull(root)
169 : valueSearchNonNull(root, value));
170 }
171
172 private boolean valueSearchNull(Entry<K,V> n) {
173 if (n.value == null)

Callers 6

deleteRelationMethod · 0.45
containsMethod · 0.45
nextMatchMethod · 0.45
resourceUnloadedMethod · 0.45
executeMethod · 0.45

Calls 2

valueSearchNullMethod · 0.95
valueSearchNonNullMethod · 0.95

Tested by

no test coverage detected