/guava/guava/src/com/google/common/collect/FilteredEntryMultimap.java
if ( !collection.isEmpty( ) && predicate.apply( Maps.immutableEntry( collection, key) ) ) {
if ( !collection.isEmpty ( ) && predicate.apply ( Maps.immutableEntry ( key, collection ) ) ) {
Iterator<Entry<K, Collection<V>>> entryIterator = unfiltered.asMap().entrySet().iterator(); boolean changed = false; while (entryIterator.hasNext()) { Entry<K, Collection<V>> entry = entryIterator.next(); K key = entry.getKey(); Collection<V> collection = filterCollection(entry.getValue(), new ValuePredicate(key)); <extra_id_0> if (collection.size() == entry.getValue().size()) { entryIterator.remove(); } else { collection.clear(); } changed = true;