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.
233 lines
5.7 KiB
233 lines
5.7 KiB
.class final Lcom/google/common/collect/Sets$1; |
|
.super Lcom/google/common/collect/Sets$SetView; |
|
.source "Sets.java" |
|
|
|
|
|
# annotations |
|
.annotation system Ldalvik/annotation/EnclosingMethod; |
|
value = Lcom/google/common/collect/Sets;->union(Ljava/util/Set;Ljava/util/Set;)Lcom/google/common/collect/Sets$SetView; |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/InnerClass; |
|
accessFlags = 0x8 |
|
name = null |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"Lcom/google/common/collect/Sets$SetView", |
|
"<TE;>;" |
|
} |
|
.end annotation |
|
|
|
|
|
# instance fields |
|
.field final synthetic val$set1:Ljava/util/Set; |
|
|
|
.field final synthetic val$set2:Ljava/util/Set; |
|
|
|
.field final synthetic val$set2minus1:Ljava/util/Set; |
|
|
|
|
|
# direct methods |
|
.method constructor <init>(Ljava/util/Set;Ljava/util/Set;Ljava/util/Set;)V |
|
.locals 1 |
|
|
|
.prologue |
|
.line 683 |
|
iput-object p1, p0, Lcom/google/common/collect/Sets$1;->val$set1:Ljava/util/Set; |
|
|
|
iput-object p2, p0, Lcom/google/common/collect/Sets$1;->val$set2minus1:Ljava/util/Set; |
|
|
|
iput-object p3, p0, Lcom/google/common/collect/Sets$1;->val$set2:Ljava/util/Set; |
|
|
|
const/4 v0, 0x0 |
|
|
|
invoke-direct {p0, v0}, Lcom/google/common/collect/Sets$SetView;-><init>(Lcom/google/common/collect/Sets$1;)V |
|
|
|
return-void |
|
.end method |
|
|
|
|
|
# virtual methods |
|
.method public contains(Ljava/lang/Object;)Z |
|
.locals 1 |
|
|
|
.prologue |
|
.line 695 |
|
iget-object v0, p0, Lcom/google/common/collect/Sets$1;->val$set1:Ljava/util/Set; |
|
|
|
invoke-interface {v0, p1}, Ljava/util/Set;->contains(Ljava/lang/Object;)Z |
|
|
|
move-result v0 |
|
|
|
if-nez v0, :cond_0 |
|
|
|
iget-object v0, p0, Lcom/google/common/collect/Sets$1;->val$set2:Ljava/util/Set; |
|
|
|
invoke-interface {v0, p1}, Ljava/util/Set;->contains(Ljava/lang/Object;)Z |
|
|
|
move-result v0 |
|
|
|
if-eqz v0, :cond_1 |
|
|
|
:cond_0 |
|
const/4 v0, 0x1 |
|
|
|
:goto_0 |
|
return v0 |
|
|
|
:cond_1 |
|
const/4 v0, 0x0 |
|
|
|
goto :goto_0 |
|
.end method |
|
|
|
.method public copyInto(Ljava/util/Set;)Ljava/util/Set; |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"<S::", |
|
"Ljava/util/Set", |
|
"<TE;>;>(TS;)TS;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 698 |
|
iget-object v0, p0, Lcom/google/common/collect/Sets$1;->val$set1:Ljava/util/Set; |
|
|
|
invoke-interface {p1, v0}, Ljava/util/Set;->addAll(Ljava/util/Collection;)Z |
|
|
|
.line 699 |
|
iget-object v0, p0, Lcom/google/common/collect/Sets$1;->val$set2:Ljava/util/Set; |
|
|
|
invoke-interface {p1, v0}, Ljava/util/Set;->addAll(Ljava/util/Collection;)Z |
|
|
|
.line 700 |
|
return-object p1 |
|
.end method |
|
|
|
.method public immutableCopy()Lcom/google/common/collect/ImmutableSet; |
|
.locals 2 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"()", |
|
"Lcom/google/common/collect/ImmutableSet", |
|
"<TE;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 703 |
|
new-instance v0, Lcom/google/common/collect/ImmutableSet$Builder; |
|
|
|
invoke-direct {v0}, Lcom/google/common/collect/ImmutableSet$Builder;-><init>()V |
|
|
|
iget-object v1, p0, Lcom/google/common/collect/Sets$1;->val$set1:Ljava/util/Set; |
|
|
|
invoke-virtual {v0, v1}, Lcom/google/common/collect/ImmutableSet$Builder;->addAll(Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableSet$Builder; |
|
|
|
move-result-object v0 |
|
|
|
iget-object v1, p0, Lcom/google/common/collect/Sets$1;->val$set2:Ljava/util/Set; |
|
|
|
invoke-virtual {v0, v1}, Lcom/google/common/collect/ImmutableSet$Builder;->addAll(Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableSet$Builder; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0}, Lcom/google/common/collect/ImmutableSet$Builder;->build()Lcom/google/common/collect/ImmutableSet; |
|
|
|
move-result-object v0 |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method public isEmpty()Z |
|
.locals 1 |
|
|
|
.prologue |
|
.line 688 |
|
iget-object v0, p0, Lcom/google/common/collect/Sets$1;->val$set1:Ljava/util/Set; |
|
|
|
invoke-interface {v0}, Ljava/util/Set;->isEmpty()Z |
|
|
|
move-result v0 |
|
|
|
if-eqz v0, :cond_0 |
|
|
|
iget-object v0, p0, Lcom/google/common/collect/Sets$1;->val$set2:Ljava/util/Set; |
|
|
|
invoke-interface {v0}, Ljava/util/Set;->isEmpty()Z |
|
|
|
move-result v0 |
|
|
|
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 iterator()Ljava/util/Iterator; |
|
.locals 2 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"()", |
|
"Ljava/util/Iterator", |
|
"<TE;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 691 |
|
iget-object v0, p0, Lcom/google/common/collect/Sets$1;->val$set1:Ljava/util/Set; |
|
|
|
invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator; |
|
|
|
move-result-object v0 |
|
|
|
iget-object v1, p0, Lcom/google/common/collect/Sets$1;->val$set2minus1:Ljava/util/Set; |
|
|
|
invoke-interface {v1}, Ljava/util/Set;->iterator()Ljava/util/Iterator; |
|
|
|
move-result-object v1 |
|
|
|
invoke-static {v0, v1}, Lcom/google/common/collect/Iterators;->concat(Ljava/util/Iterator;Ljava/util/Iterator;)Ljava/util/Iterator; |
|
|
|
move-result-object v0 |
|
|
|
invoke-static {v0}, Lcom/google/common/collect/Iterators;->unmodifiableIterator(Ljava/util/Iterator;)Lcom/google/common/collect/UnmodifiableIterator; |
|
|
|
move-result-object v0 |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method public size()I |
|
.locals 2 |
|
|
|
.prologue |
|
.line 685 |
|
iget-object v0, p0, Lcom/google/common/collect/Sets$1;->val$set1:Ljava/util/Set; |
|
|
|
invoke-interface {v0}, Ljava/util/Set;->size()I |
|
|
|
move-result v0 |
|
|
|
iget-object v1, p0, Lcom/google/common/collect/Sets$1;->val$set2minus1:Ljava/util/Set; |
|
|
|
invoke-interface {v1}, Ljava/util/Set;->size()I |
|
|
|
move-result v1 |
|
|
|
add-int/2addr v0, v1 |
|
|
|
return v0 |
|
.end method
|
|
|