MCPcopy Create free account
hub / github.com/ReadyTalk/avian / poll

Method poll

classpath/java/util/WeakHashMap.java:30–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28 }
29
30 private void poll() {
31 for (MyCell<K, V> c = (MyCell<K, V>) queue.poll();
32 c != null;
33 c = (MyCell<K, V>) queue.poll())
34 {
35 map.remove(c);
36 }
37 }
38
39 public boolean isEmpty() {
40 return map.isEmpty();

Callers 5

containsKeyMethod · 0.95
containsValueMethod · 0.95
getMethod · 0.95
putMethod · 0.95
removeMethod · 0.95

Calls 2

pollMethod · 0.65
removeMethod · 0.65

Tested by

no test coverage detected