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

Method clear

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

Removes every mapping from this map.

()

Source from the content-addressed store, hash-verified

25
26 /** Removes every mapping from this map. */
27 void clear();
28
29 /** Returns a Set view of the keys contained in this map. Not required for Lab 7.
30 * If you don't implement this, throw an UnsupportedOperationException. */

Callers 12

MemoryGameMethod · 0.65
drawFrameMethod · 0.65
initializeMethod · 0.65
renderFrameMethod · 0.65
sanityClearTestMethod · 0.65
playStageMethod · 0.65
initializeMethod · 0.65
renderFrameMethod · 0.65
sanityClearTestMethod · 0.65
initializeMethod · 0.65
renderFrameMethod · 0.65
playStageMethod · 0.65

Implementers 2

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

Calls

no outgoing calls

Tested by 2

sanityClearTestMethod · 0.52
sanityClearTestMethod · 0.52