MCPcopy Create free account
hub / github.com/antlr/codebuff / containsValueImpl

Method containsValueImpl

corpus/java/training/guava/collect/Maps.java:3533–3535  ·  view source on GitHub ↗

An implementation of Map#containsValue.

(Map<?, ?> map, @Nullable Object value)

Source from the content-addressed store, hash-verified

3531 * An implementation of {@link Map#containsValue}.
3532 */
3533 static boolean containsValueImpl(Map<?, ?> map, @Nullable Object value) {
3534 return Iterators.contains(valueIterator(map.entrySet().iterator()), value);
3535 }
3536
3537 /**
3538 * Implements {@code Collection.contains} safely for forwarding collections of

Callers 1

standardContainsValueMethod · 0.95

Calls 4

containsMethod · 0.95
valueIteratorMethod · 0.95
iteratorMethod · 0.65
entrySetMethod · 0.65

Tested by

no test coverage detected