今奥全景相机
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

167 lines
3.7 KiB

.class final Lcom/google/common/collect/Sets$SubSet;
.super Ljava/util/AbstractSet;
.source "Sets.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/common/collect/Sets;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1a
name = "SubSet"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<E:",
"Ljava/lang/Object;",
">",
"Ljava/util/AbstractSet",
"<TE;>;"
}
.end annotation
# instance fields
.field private final inputSet:Lcom/google/common/collect/ImmutableMap;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/google/common/collect/ImmutableMap",
"<TE;",
"Ljava/lang/Integer;",
">;"
}
.end annotation
.end field
.field private final mask:I
# direct methods
.method constructor <init>(Lcom/google/common/collect/ImmutableMap;I)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/google/common/collect/ImmutableMap",
"<TE;",
"Ljava/lang/Integer;",
">;I)V"
}
.end annotation
.prologue
.line 1210
invoke-direct {p0}, Ljava/util/AbstractSet;-><init>()V
.line 1211
iput-object p1, p0, Lcom/google/common/collect/Sets$SubSet;->inputSet:Lcom/google/common/collect/ImmutableMap;
.line 1212
iput p2, p0, Lcom/google/common/collect/Sets$SubSet;->mask:I
.line 1213
return-void
.end method
.method static synthetic access$100(Lcom/google/common/collect/Sets$SubSet;)Lcom/google/common/collect/ImmutableMap;
.locals 1
.prologue
.line 1206
iget-object v0, p0, Lcom/google/common/collect/Sets$SubSet;->inputSet:Lcom/google/common/collect/ImmutableMap;
return-object v0
.end method
.method static synthetic access$200(Lcom/google/common/collect/Sets$SubSet;)I
.locals 1
.prologue
.line 1206
iget v0, p0, Lcom/google/common/collect/Sets$SubSet;->mask:I
return v0
.end method
# virtual methods
.method public contains(Ljava/lang/Object;)Z
.locals 3
.param p1 # Ljava/lang/Object;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end param
.prologue
const/4 v1, 0x1
.line 1245
iget-object v0, p0, Lcom/google/common/collect/Sets$SubSet;->inputSet: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 1246
if-eqz v0, :cond_0
iget v2, p0, Lcom/google/common/collect/Sets$SubSet;->mask:I
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
move-result v0
shl-int v0, v1, v0
and-int/2addr v0, v2
if-eqz v0, :cond_0
move v0, v1
:goto_0
return v0
:cond_0
const/4 v0, 0x0
goto :goto_0
.end method
.method public iterator()Ljava/util/Iterator;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Iterator",
"<TE;>;"
}
.end annotation
.prologue
.line 1217
new-instance v0, Lcom/google/common/collect/Sets$SubSet$1;
invoke-direct {v0, p0}, Lcom/google/common/collect/Sets$SubSet$1;-><init>(Lcom/google/common/collect/Sets$SubSet;)V
return-object v0
.end method
.method public size()I
.locals 1
.prologue
.line 1240
iget v0, p0, Lcom/google/common/collect/Sets$SubSet;->mask:I
invoke-static {v0}, Ljava/lang/Integer;->bitCount(I)I
move-result v0
return v0
.end method