MCPcopy Create free account
hub / github.com/Berkeley-CS61B/skeleton-sp23 / get

Method get

lab08/src/hashmap/Map61B.java:19–19  ·  view source on GitHub ↗

Returns the value to which the specified key is mapped, or null if this map contains no mapping for the key.

(K key)

Source from the content-addressed store, hash-verified

17 /** Returns the value to which the specified key is mapped, or null if this
18 * map contains no mapping for the key. */
19 V get(K key);
20
21 /** Returns whether this map contains a mapping for the specified key. */
22 boolean containsKey(K key);

Callers

nothing calls this directly

Implementers 2

ULLMaplab08/src/hashmap/ULLMap.java
ULLMaplab07/src/ULLMap.java

Calls

no outgoing calls

Tested by

no test coverage detected