/guava/guava/src/com/google/common/collect/Multisets.java
checkNotNull( occurrencesToRemove) ; checkNotNull( multisetToModify) ;
checkNotNull ( multisetToModify ) ; checkNotNull ( occurrencesToRemove ) ;
@CanIgnoreReturnValue public static boolean removeOccurrences( Multiset<?> multisetToModify, Iterable<?> occurrencesToRemove) { if (occurrencesToRemove instanceof Multiset) { return removeOccurrences(multisetToModify, (Multiset<?>) occurrencesToRemove); } else { <extra_id_0> boolean changed = false; for (Object o : occurrencesToRemove) { changed |= multisetToModify.remove(o); } return changed; }