/guava/android/guava/src/com/google/common/collect/Maps.java
if ( entryPredicate.apply ( entry ) && !keyCollection.contains ( entry.getKey ( ) ) ) { entryItr.remove ( ) ; result = true; }
static <K extends @Nullable Object, V extends @Nullable Object> boolean retainAllKeys( Map<K, V> map, Predicate<? super Entry<K, V>> entryPredicate, Collection<?> keyCollection) { Iterator<Entry<K, V>> entryItr = map.entrySet().iterator(); boolean result = false; while (entryItr.hasNext()) { Entry<K, V> entry = entryItr.next(); <extra_id_0> } return result; } @WeakOuter class KeySet extends Maps.KeySet<K, V> { KeySet() {