package com.google.common.collect; import com.google.common.collect.Multiset; import java.util.NavigableSet; import java.util.Set; import java.util.SortedSet; /* JADX INFO: Access modifiers changed from: package-private */ /* loaded from: classes2.dex */ public final class DescendingImmutableSortedMultiset extends ImmutableSortedMultiset { private final transient ImmutableSortedMultiset forward; @Override // com.google.common.collect.ImmutableSortedMultiset, com.google.common.collect.SortedMultiset public final /* bridge */ /* synthetic */ SortedMultiset descendingMultiset() { return descendingMultiset(); } @Override // com.google.common.collect.ImmutableSortedMultiset, com.google.common.collect.ImmutableMultiset, com.google.common.collect.Multiset public final /* bridge */ /* synthetic */ ImmutableSet elementSet() { return elementSet(); } @Override // com.google.common.collect.ImmutableSortedMultiset, com.google.common.collect.ImmutableMultiset, com.google.common.collect.Multiset public final /* bridge */ /* synthetic */ NavigableSet elementSet() { return elementSet(); } @Override // com.google.common.collect.ImmutableSortedMultiset, com.google.common.collect.ImmutableMultiset, com.google.common.collect.Multiset public final /* bridge */ /* synthetic */ Set elementSet() { return elementSet(); } @Override // com.google.common.collect.ImmutableSortedMultiset, com.google.common.collect.ImmutableMultiset, com.google.common.collect.Multiset public final /* bridge */ /* synthetic */ SortedSet elementSet() { return elementSet(); } /* JADX WARN: Multi-variable type inference failed */ @Override // com.google.common.collect.ImmutableSortedMultiset, com.google.common.collect.SortedMultiset public final /* bridge */ /* synthetic */ SortedMultiset headMultiset(Object obj, BoundType boundType) { return headMultiset((DescendingImmutableSortedMultiset) obj, boundType); } /* JADX WARN: Multi-variable type inference failed */ @Override // com.google.common.collect.ImmutableSortedMultiset, com.google.common.collect.SortedMultiset public final /* bridge */ /* synthetic */ SortedMultiset tailMultiset(Object obj, BoundType boundType) { return tailMultiset((DescendingImmutableSortedMultiset) obj, boundType); } /* JADX INFO: Access modifiers changed from: package-private */ public DescendingImmutableSortedMultiset(ImmutableSortedMultiset immutableSortedMultiset) { this.forward = immutableSortedMultiset; } @Override // com.google.common.collect.Multiset public final int count(Object obj) { return this.forward.count(obj); } @Override // com.google.common.collect.SortedMultiset public final Multiset.Entry firstEntry() { return this.forward.lastEntry(); } @Override // com.google.common.collect.SortedMultiset public final Multiset.Entry lastEntry() { return this.forward.firstEntry(); } @Override // java.util.AbstractCollection, java.util.Collection, com.google.common.collect.Multiset public final int size() { return this.forward.size(); } @Override // com.google.common.collect.ImmutableSortedMultiset, com.google.common.collect.ImmutableMultiset, com.google.common.collect.Multiset public final ImmutableSortedSet elementSet() { return this.forward.elementSet().descendingSet(); } @Override // com.google.common.collect.ImmutableMultiset final Multiset.Entry getEntry(int i) { return this.forward.entrySet().asList().reverse().get(i); } @Override // com.google.common.collect.ImmutableSortedMultiset, com.google.common.collect.SortedMultiset public final ImmutableSortedMultiset headMultiset(E e, BoundType boundType) { return this.forward.tailMultiset((ImmutableSortedMultiset) e, boundType).descendingMultiset(); } @Override // com.google.common.collect.ImmutableSortedMultiset, com.google.common.collect.SortedMultiset public final ImmutableSortedMultiset tailMultiset(E e, BoundType boundType) { return this.forward.headMultiset((ImmutableSortedMultiset) e, boundType).descendingMultiset(); } /* JADX INFO: Access modifiers changed from: package-private */ @Override // com.google.common.collect.ImmutableCollection public final boolean isPartialView() { return this.forward.isPartialView(); } @Override // com.google.common.collect.ImmutableSortedMultiset, com.google.common.collect.SortedMultiset public final ImmutableSortedMultiset descendingMultiset() { return this.forward; } }