MCPcopy Create free account
hub / github.com/davidgiven/luje / containsKey

Method containsKey

lib/java/util/HashMap.java:397–401  ·  view source on GitHub ↗

Returns whether this map contains the specified key. @param key the key to search for. @return true if this map contains the specified key, false otherwise.

(Object key)

Source from the content-addressed store, hash-verified

395 * {@code false} otherwise.
396 */
397 @Override
398 public boolean containsKey(Object key) {
399 Entry<K, V> m = getEntry(key);
400 return m != null;
401 }
402
403 /**
404 * Returns whether this map contains the specified value.

Callers 1

containsMethod · 0.95

Calls 1

getEntryMethod · 0.95

Tested by

no test coverage detected