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

Method get

lib/java/util/HashMap.java:457–464  ·  view source on GitHub ↗

Returns the value of the mapping with the specified key. @param key the key. @return the value of the mapping with the specified key, or null if no mapping for the specified key is found.

(Object key)

Source from the content-addressed store, hash-verified

455 * if no mapping for the specified key is found.
456 */
457 @Override
458 public V get(Object key) {
459 Entry<K, V> m = getEntry(key);
460 if (m != null) {
461 return m.value;
462 }
463 return null;
464 }
465
466 final Entry<K, V> getEntry(Object key) {
467 Entry<K, V> m;

Callers

nothing calls this directly

Calls 1

getEntryMethod · 0.95

Tested by

no test coverage detected