package com.google.common.collect; import java.util.Set; /* loaded from: classes2.dex */ public class HashMultiset extends AbstractMapBasedMultiset { private static final long serialVersionUID = 0; @Override // com.google.common.collect.AbstractMultiset, java.util.AbstractCollection, java.util.Collection, com.google.common.collect.Multiset public /* bridge */ /* synthetic */ boolean contains(Object obj) { return super.contains(obj); } @Override // com.google.common.collect.AbstractMultiset, com.google.common.collect.Multiset public /* bridge */ /* synthetic */ Set elementSet() { return super.elementSet(); } @Override // com.google.common.collect.AbstractMultiset, com.google.common.collect.Multiset public /* bridge */ /* synthetic */ Set entrySet() { return super.entrySet(); } @Override // com.google.common.collect.AbstractMultiset, java.util.AbstractCollection, java.util.Collection public /* bridge */ /* synthetic */ boolean isEmpty() { return super.isEmpty(); } public static HashMultiset create() { return create(3); } public static HashMultiset create(int i) { return new HashMultiset<>(i); } public static HashMultiset create(Iterable iterable) { HashMultiset create = create(Multisets.inferDistinctElements(iterable)); Iterables.addAll(create, iterable); return create; } HashMultiset(int i) { super(i); } @Override // com.google.common.collect.AbstractMapBasedMultiset void init(int i) { this.backingMap = new ObjectCountHashMap<>(i); } }