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

Method remove

lab07/src/Map61B.java:37–37  ·  view source on GitHub ↗

Removes the mapping for the specified key from this map if present, or null if there is no such mapping. Not required for Lab 7. If you don't implement this, throw an UnsupportedOperationException.

(K key)

Source from the content-addressed store, hash-verified

35 * Not required for Lab 7. If you don't implement this, throw an
36 * UnsupportedOperationException. */
37 V remove(K key);
38}

Callers 9

jquery.min.jsFile · 0.65
ebFunction · 0.65
testRemoveMethod · 0.65
testRemoveThreeCasesMethod · 0.65
arraySimilarityMethod · 0.65
testRemoveRootMethod · 0.65
testRemoveThreeCasesMethod · 0.65
testRemoveRootEdgeMethod · 0.65
arraySimilarityMethod · 0.65

Implementers 2

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

Calls

no outgoing calls

Tested by 5

testRemoveMethod · 0.52
testRemoveThreeCasesMethod · 0.52
testRemoveRootMethod · 0.52
testRemoveThreeCasesMethod · 0.52
testRemoveRootEdgeMethod · 0.52