MCPcopy Index your code
hub / github.com/jankotek/mapdb / clear

Method clear

src/main/java/org/mapdb/BTreeMapJava.java:1173–1180  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1171 }
1172
1173 @Override
1174 public void clear() {
1175 Iterator<K> i = keyIterator();
1176 while(i.hasNext()){
1177 i.next();
1178 i.remove();
1179 }
1180 }
1181
1182
1183 /* ---------------- ConcurrentMap API methods -------------- */

Callers

nothing calls this directly

Calls 3

keyIteratorMethod · 0.95
nextMethod · 0.80
removeMethod · 0.45

Tested by

no test coverage detected