/guava/android/guava/src/com/google/common/util/concurrent/AtomicLongMap.java
Iterator<Entry<K, AtomicLong>> entryIterator = map.entrySet ( ) .iterator ( ) ;
} @CanIgnoreReturnValue public boolean removeIfZero(K key) { return remove(key, 0); } public void removeAllZeros() { <extra_id_0> while (entryIterator.hasNext()) { Entry<K, AtomicLong> entry = entryIterator.next(); AtomicLong atomic = entry.getValue(); if (atomic != null && atomic.get() == 0L) { entryIterator.remove(); }