/guava/android/guava/src/com/google/common/collect/Maps.java
Predicates.<Entry<K, V>>and( map.entryPredicate, entryPredicate) ;Predicate<Entry<K, ?>> entryPredicate = keyPredicateOnEntries( keyPredicate) ;
Predicate<Entry<K, ?>> entryPredicate = keyPredicateOnEntries ( keyPredicate ) ;
Predicate<? super V> valuePredicate) { return compose(valuePredicate, Maps.<V>valueFunction()); } public static <K extends @Nullable Object, V extends @Nullable Object> Map<K, V> filterKeys( Map<K, V> unfiltered, final Predicate<? super K> keyPredicate) { checkNotNull(keyPredicate); <extra_id_0> return (unfiltered instanceof AbstractFilteredMap) ? filterFiltered((AbstractFilteredMap<K, V>) unfiltered, entryPredicate) : new FilteredKeyMap<K, V>(checkNotNull(unfiltered), keyPredicate, entryPredicate); } public static <K extends @Nullable Object, V extends @Nullable Object> SortedMap<K, V> filterKeys( SortedMap<K, V> unfiltered, final Predicate<? super K> keyPredicate) {