()
| 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(); |
no test coverage detected