@Override
				public boolean hasNext() {
					while (hashIterator.hasNext()) {
						Map.Entry<K, WeakValue<V>> ent = hashIterator.next();

						WeakValue<V> wv = ent.getValue();
						V v = null;
						if ((wv != null) && ((v = wv.get()) == null)) {
							/* Weak value has been cleared by GC */
							continue;
						}

						next = new Entry<>(ent.getKey(), v);
						return true;
					}
					return false;
				}
Removes all mappings from this map.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/pcodeCPort/utils/WeakHashMap2.java