.class Lcom/google/common/collect/RegularImmutableMultiset; .super Lcom/google/common/collect/ImmutableMultiset; .source "RegularImmutableMultiset.java" # annotations .annotation build Lcom/google/common/annotations/GwtCompatible; serializable = true .end annotation .annotation system Ldalvik/annotation/Signature; value = { "", "Lcom/google/common/collect/ImmutableMultiset", ";" } .end annotation # instance fields .field private final transient map:Lcom/google/common/collect/ImmutableMap; .annotation system Ldalvik/annotation/Signature; value = { "Lcom/google/common/collect/ImmutableMap", ";" } .end annotation .end field .field private final transient size:I # direct methods .method constructor (Lcom/google/common/collect/ImmutableMap;I)V .locals 0 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lcom/google/common/collect/ImmutableMap", ";I)V" } .end annotation .prologue .line 38 invoke-direct {p0}, Lcom/google/common/collect/ImmutableMultiset;->()V .line 39 iput-object p1, p0, Lcom/google/common/collect/RegularImmutableMultiset;->map:Lcom/google/common/collect/ImmutableMap; .line 40 iput p2, p0, Lcom/google/common/collect/RegularImmutableMultiset;->size:I .line 41 return-void .end method # virtual methods .method public contains(Ljava/lang/Object;)Z .locals 1 .param p1 # Ljava/lang/Object; .annotation runtime Ljavax/annotation/Nullable; .end annotation .end param .prologue .line 61 iget-object v0, p0, Lcom/google/common/collect/RegularImmutableMultiset;->map:Lcom/google/common/collect/ImmutableMap; invoke-virtual {v0, p1}, Lcom/google/common/collect/ImmutableMap;->containsKey(Ljava/lang/Object;)Z move-result v0 return v0 .end method .method public count(Ljava/lang/Object;)I .locals 1 .param p1 # Ljava/lang/Object; .annotation runtime Ljavax/annotation/Nullable; .end annotation .end param .prologue .line 50 iget-object v0, p0, Lcom/google/common/collect/RegularImmutableMultiset;->map:Lcom/google/common/collect/ImmutableMap; invoke-virtual {v0, p1}, Lcom/google/common/collect/ImmutableMap;->get(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 check-cast v0, Ljava/lang/Integer; .line 51 if-nez v0, :cond_0 const/4 v0, 0x0 :goto_0 return v0 :cond_0 invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I move-result v0 goto :goto_0 .end method .method public elementSet()Lcom/google/common/collect/ImmutableSet; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "()", "Lcom/google/common/collect/ImmutableSet", ";" } .end annotation .prologue .line 66 iget-object v0, p0, Lcom/google/common/collect/RegularImmutableMultiset;->map:Lcom/google/common/collect/ImmutableMap; invoke-virtual {v0}, Lcom/google/common/collect/ImmutableMap;->keySet()Lcom/google/common/collect/ImmutableSet; move-result-object v0 return-object v0 .end method .method public bridge synthetic elementSet()Ljava/util/Set; .locals 1 .prologue .line 31 invoke-virtual {p0}, Lcom/google/common/collect/RegularImmutableMultiset;->elementSet()Lcom/google/common/collect/ImmutableSet; move-result-object v0 return-object v0 .end method .method getEntry(I)Lcom/google/common/collect/Multiset$Entry; .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "(I)", "Lcom/google/common/collect/Multiset$Entry", ";" } .end annotation .prologue .line 71 iget-object v0, p0, Lcom/google/common/collect/RegularImmutableMultiset;->map:Lcom/google/common/collect/ImmutableMap; invoke-virtual {v0}, Lcom/google/common/collect/ImmutableMap;->entrySet()Lcom/google/common/collect/ImmutableSet; move-result-object v0 invoke-virtual {v0}, Lcom/google/common/collect/ImmutableSet;->asList()Lcom/google/common/collect/ImmutableList; move-result-object v0 invoke-virtual {v0, p1}, Lcom/google/common/collect/ImmutableList;->get(I)Ljava/lang/Object; move-result-object v0 check-cast v0, Ljava/util/Map$Entry; .line 72 invoke-interface {v0}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object; move-result-object v1 invoke-interface {v0}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object; move-result-object v0 check-cast v0, Ljava/lang/Integer; invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I move-result v0 invoke-static {v1, v0}, Lcom/google/common/collect/Multisets;->immutableEntry(Ljava/lang/Object;I)Lcom/google/common/collect/Multiset$Entry; move-result-object v0 return-object v0 .end method .method public hashCode()I .locals 1 .prologue .line 77 iget-object v0, p0, Lcom/google/common/collect/RegularImmutableMultiset;->map:Lcom/google/common/collect/ImmutableMap; invoke-virtual {v0}, Lcom/google/common/collect/ImmutableMap;->hashCode()I move-result v0 return v0 .end method .method isPartialView()Z .locals 1 .prologue .line 45 iget-object v0, p0, Lcom/google/common/collect/RegularImmutableMultiset;->map:Lcom/google/common/collect/ImmutableMap; invoke-virtual {v0}, Lcom/google/common/collect/ImmutableMap;->isPartialView()Z move-result v0 return v0 .end method .method public size()I .locals 1 .prologue .line 56 iget v0, p0, Lcom/google/common/collect/RegularImmutableMultiset;->size:I return v0 .end method