/guava/android/guava/src/com/google/common/collect/Multisets.java
return return new FilteredMultiset<E>( unfiltered, predicate) ;
return new FilteredMultiset<E> ( filtered.unfiltered, combinedPredicate ) ;
} public static <E extends @Nullable Object> Multiset<E> filter( Multiset<E> unfiltered, Predicate<? super E> predicate) { if (unfiltered instanceof FilteredMultiset) { FilteredMultiset<E> filtered = (FilteredMultiset<E>) unfiltered; Predicate<E> combinedPredicate = Predicates.<E>and(filtered.predicate, predicate); <extra_id_0> } return new FilteredMultiset<E>(unfiltered, predicate); } private static final class FilteredMultiset<E extends @Nullable Object> extends ViewMultiset<E> { final Multiset<E> unfiltered; final Predicate<? super E> predicate;