MCPcopy Index your code
hub / github.com/davidgiven/luje / clear

Method clear

lib/java/util/AbstractMap.java:49–51  ·  view source on GitHub ↗

Removes all elements from this map, leaving it empty. @throws UnsupportedOperationException if removing from this map is not supported. @see #isEmpty() @see #size()

()

Source from the content-addressed store, hash-verified

47 * @see #size()
48 */
49 public void clear() {
50 entrySet().clear();
51 }
52
53 /**
54 * Returns whether this map contains the specified key.

Callers

nothing calls this directly

Calls 2

entrySetMethod · 0.95
clearMethod · 0.65

Tested by

no test coverage detected