/guava/android/guava/src/com/google/common/collect/Multisets.java
Predicate<E> combinedPredicate = Predicates.<E>and( predicate.predicate, filtered) ;
Predicate<E> combinedPredicate = Predicates.<E>and ( filtered.predicate, predicate ) ;
private static final long serialVersionUID = 0; } 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; <extra_id_0> return new FilteredMultiset<E>(filtered.unfiltered, combinedPredicate); } return new FilteredMultiset<E>(unfiltered, predicate); } private static final class FilteredMultiset<E extends @Nullable Object> extends ViewMultiset<E> { final Multiset<E> unfiltered;