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.
150 lines
3.8 KiB
150 lines
3.8 KiB
.class Lcom/google/common/collect/Sets$SubSet$1; |
|
.super Lcom/google/common/collect/UnmodifiableIterator; |
|
.source "Sets.java" |
|
|
|
|
|
# annotations |
|
.annotation system Ldalvik/annotation/EnclosingMethod; |
|
value = Lcom/google/common/collect/Sets$SubSet;->iterator()Ljava/util/Iterator; |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/InnerClass; |
|
accessFlags = 0x0 |
|
name = null |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"Lcom/google/common/collect/UnmodifiableIterator", |
|
"<TE;>;" |
|
} |
|
.end annotation |
|
|
|
|
|
# instance fields |
|
.field final elements:Lcom/google/common/collect/ImmutableList; |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"Lcom/google/common/collect/ImmutableList", |
|
"<TE;>;" |
|
} |
|
.end annotation |
|
.end field |
|
|
|
.field remainingSetBits:I |
|
|
|
.field final synthetic this$0:Lcom/google/common/collect/Sets$SubSet; |
|
|
|
|
|
# direct methods |
|
.method constructor <init>(Lcom/google/common/collect/Sets$SubSet;)V |
|
.locals 1 |
|
|
|
.prologue |
|
.line 1217 |
|
iput-object p1, p0, Lcom/google/common/collect/Sets$SubSet$1;->this$0:Lcom/google/common/collect/Sets$SubSet; |
|
|
|
invoke-direct {p0}, Lcom/google/common/collect/UnmodifiableIterator;-><init>()V |
|
|
|
.line 1218 |
|
iget-object v0, p0, Lcom/google/common/collect/Sets$SubSet$1;->this$0:Lcom/google/common/collect/Sets$SubSet; |
|
|
|
invoke-static {v0}, Lcom/google/common/collect/Sets$SubSet;->access$100(Lcom/google/common/collect/Sets$SubSet;)Lcom/google/common/collect/ImmutableMap; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0}, Lcom/google/common/collect/ImmutableMap;->keySet()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 |
|
|
|
iput-object v0, p0, Lcom/google/common/collect/Sets$SubSet$1;->elements:Lcom/google/common/collect/ImmutableList; |
|
|
|
.line 1219 |
|
iget-object v0, p0, Lcom/google/common/collect/Sets$SubSet$1;->this$0:Lcom/google/common/collect/Sets$SubSet; |
|
|
|
invoke-static {v0}, Lcom/google/common/collect/Sets$SubSet;->access$200(Lcom/google/common/collect/Sets$SubSet;)I |
|
|
|
move-result v0 |
|
|
|
iput v0, p0, Lcom/google/common/collect/Sets$SubSet$1;->remainingSetBits:I |
|
|
|
return-void |
|
.end method |
|
|
|
|
|
# virtual methods |
|
.method public hasNext()Z |
|
.locals 1 |
|
|
|
.prologue |
|
.line 1223 |
|
iget v0, p0, Lcom/google/common/collect/Sets$SubSet$1;->remainingSetBits:I |
|
|
|
if-eqz v0, :cond_0 |
|
|
|
const/4 v0, 0x1 |
|
|
|
:goto_0 |
|
return v0 |
|
|
|
:cond_0 |
|
const/4 v0, 0x0 |
|
|
|
goto :goto_0 |
|
.end method |
|
|
|
.method public next()Ljava/lang/Object; |
|
.locals 3 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"()TE;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 1228 |
|
iget v0, p0, Lcom/google/common/collect/Sets$SubSet$1;->remainingSetBits:I |
|
|
|
invoke-static {v0}, Ljava/lang/Integer;->numberOfTrailingZeros(I)I |
|
|
|
move-result v0 |
|
|
|
.line 1229 |
|
const/16 v1, 0x20 |
|
|
|
if-ne v0, v1, :cond_0 |
|
|
|
.line 1230 |
|
new-instance v0, Ljava/util/NoSuchElementException; |
|
|
|
invoke-direct {v0}, Ljava/util/NoSuchElementException;-><init>()V |
|
|
|
throw v0 |
|
|
|
.line 1232 |
|
:cond_0 |
|
iget v1, p0, Lcom/google/common/collect/Sets$SubSet$1;->remainingSetBits:I |
|
|
|
const/4 v2, 0x1 |
|
|
|
shl-int/2addr v2, v0 |
|
|
|
xor-int/lit8 v2, v2, -0x1 |
|
|
|
and-int/2addr v1, v2 |
|
|
|
iput v1, p0, Lcom/google/common/collect/Sets$SubSet$1;->remainingSetBits:I |
|
|
|
.line 1233 |
|
iget-object v1, p0, Lcom/google/common/collect/Sets$SubSet$1;->elements:Lcom/google/common/collect/ImmutableList; |
|
|
|
invoke-virtual {v1, v0}, Lcom/google/common/collect/ImmutableList;->get(I)Ljava/lang/Object; |
|
|
|
move-result-object v0 |
|
|
|
return-object v0 |
|
.end method
|
|
|