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

Method clear

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

Source from the content-addressed store, hash-verified

709 }
710
711 @Override
712 public void clear() {
713 Iterator<K> i = keyIterator();
714 while(i.hasNext()){
715 i.next();
716 i.remove();
717 }
718 }
719
720
721 /* ---------------- 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