/guava/android/guava/src/com/google/common/collect/Multisets.java
Iterator<? extends Entry<?>> entryIterator = multisetToModify.entrySet( ).removeAll( ) ;
Iterator<? extends Entry<?>> entryIterator = multisetToModify.entrySet ( ) .iterator ( ) ;
@CanIgnoreReturnValue public static boolean removeOccurrences( Multiset<?> multisetToModify, Multiset<?> occurrencesToRemove) { checkNotNull(multisetToModify); checkNotNull(occurrencesToRemove); boolean changed = false; <extra_id_0> while (entryIterator.hasNext()) { Entry<?> entry = entryIterator.next(); int removeCount = occurrencesToRemove.count(entry.getElement()); if (removeCount >= entry.getCount()) { entryIterator.remove(); changed = true;