ImmutableMultiset$EntrySet.smali
.class final Lcom/google/common/collect/ImmutableMultiset$EntrySet;
.super Lcom/google/common/collect/IndexedImmutableSet;
.source "ImmutableMultiset.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/common/collect/ImmutableMultiset;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x12
name = "EntrySet"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/google/common/collect/IndexedImmutableSet<",
"Lcom/google/common/collect/V$a<",
"TE;>;>;"
}
.end annotation
# static fields
.field private static final serialVersionUID:J
# instance fields
.field final synthetic this$0:Lcom/google/common/collect/ImmutableMultiset;
# direct methods
.method private constructor <init>(Lcom/google/common/collect/ImmutableMultiset;)V
.registers 2
.line 1
iput-object p1, p0, Lcom/google/common/collect/ImmutableMultiset$EntrySet;->this$0:Lcom/google/common/collect/ImmutableMultiset;
invoke-direct {p0}, Lcom/google/common/collect/IndexedImmutableSet;-><init>()V
return-void
.end method
.method synthetic constructor <init>(Lcom/google/common/collect/ImmutableMultiset;Lcom/google/common/collect/E;)V
.registers 3
.line 2
invoke-direct {p0, p1}, Lcom/google/common/collect/ImmutableMultiset$EntrySet;-><init>(Lcom/google/common/collect/ImmutableMultiset;)V
return-void
.end method
# virtual methods
.method public contains(Ljava/lang/Object;)Z
.registers 5
.line 1
instance-of v0, p1, Lcom/google/common/collect/V$a;
const/4 v1, 0x0
if-eqz v0, :cond_1f
.line 2
check-cast p1, Lcom/google/common/collect/V$a;
.line 3
invoke-interface {p1}, Lcom/google/common/collect/V$a;->getCount()I
move-result v0
if-gtz v0, :cond_e
return v1
.line 4
:cond_e
iget-object v0, p0, Lcom/google/common/collect/ImmutableMultiset$EntrySet;->this$0:Lcom/google/common/collect/ImmutableMultiset;
invoke-interface {p1}, Lcom/google/common/collect/V$a;->getElement()Ljava/lang/Object;
move-result-object v2
invoke-interface {v0, v2}, Lcom/google/common/collect/V;->count(Ljava/lang/Object;)I
move-result v0
.line 5
invoke-interface {p1}, Lcom/google/common/collect/V$a;->getCount()I
move-result p1
if-ne v0, p1, :cond_1f
const/4 v1, 0x1
:cond_1f
return v1
.end method
.method get(I)Lcom/google/common/collect/V$a;
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(I)",
"Lcom/google/common/collect/V$a<",
"TE;>;"
}
.end annotation
.line 2
iget-object v0, p0, Lcom/google/common/collect/ImmutableMultiset$EntrySet;->this$0:Lcom/google/common/collect/ImmutableMultiset;
invoke-virtual {v0, p1}, Lcom/google/common/collect/ImmutableMultiset;->getEntry(I)Lcom/google/common/collect/V$a;
move-result-object p1
return-object p1
.end method
.method bridge synthetic get(I)Ljava/lang/Object;
.registers 2
.line 1
invoke-virtual {p0, p1}, Lcom/google/common/collect/ImmutableMultiset$EntrySet;->get(I)Lcom/google/common/collect/V$a;
move-result-object p1
return-object p1
.end method
.method public hashCode()I
.registers 2
.line 1
iget-object v0, p0, Lcom/google/common/collect/ImmutableMultiset$EntrySet;->this$0:Lcom/google/common/collect/ImmutableMultiset;
invoke-virtual {v0}, Lcom/google/common/collect/ImmutableMultiset;->hashCode()I
move-result v0
return v0
.end method
.method isPartialView()Z
.registers 2
.line 1
iget-object v0, p0, Lcom/google/common/collect/ImmutableMultiset$EntrySet;->this$0:Lcom/google/common/collect/ImmutableMultiset;
invoke-virtual {v0}, Lcom/google/common/collect/ImmutableCollection;->isPartialView()Z
move-result v0
return v0
.end method
.method public size()I
.registers 2
.line 1
iget-object v0, p0, Lcom/google/common/collect/ImmutableMultiset$EntrySet;->this$0:Lcom/google/common/collect/ImmutableMultiset;
invoke-virtual {v0}, Lcom/google/common/collect/ImmutableMultiset;->elementSet()Lcom/google/common/collect/ImmutableSet;
move-result-object v0
invoke-virtual {v0}, Ljava/util/AbstractCollection;->size()I
move-result v0
return v0
.end method
.method writeReplace()Ljava/lang/Object;
.registers 3
.line 1
new-instance v0, Lcom/google/common/collect/ImmutableMultiset$EntrySetSerializedForm;
iget-object v1, p0, Lcom/google/common/collect/ImmutableMultiset$EntrySet;->this$0:Lcom/google/common/collect/ImmutableMultiset;
invoke-direct {v0, v1}, Lcom/google/common/collect/ImmutableMultiset$EntrySetSerializedForm;-><init>(Lcom/google/common/collect/ImmutableMultiset;)V
return-object v0
.end method