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.
187 lines
4.9 KiB
187 lines
4.9 KiB
.class final Lcom/google/common/collect/ImmutableMapKeySet; |
|
.super Lcom/google/common/collect/ImmutableSet; |
|
.source "ImmutableMapKeySet.java" |
|
|
|
|
|
# annotations |
|
.annotation build Lcom/google/common/annotations/GwtCompatible; |
|
emulated = true |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/MemberClasses; |
|
value = { |
|
Lcom/google/common/collect/ImmutableMapKeySet$KeySetSerializedForm; |
|
} |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"<K:", |
|
"Ljava/lang/Object;", |
|
"V:", |
|
"Ljava/lang/Object;", |
|
">", |
|
"Lcom/google/common/collect/ImmutableSet", |
|
"<TK;>;" |
|
} |
|
.end annotation |
|
|
|
|
|
# instance fields |
|
.field private final map:Lcom/google/common/collect/ImmutableMap; |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"Lcom/google/common/collect/ImmutableMap", |
|
"<TK;TV;>;" |
|
} |
|
.end annotation |
|
.end field |
|
|
|
|
|
# direct methods |
|
.method constructor <init>(Lcom/google/common/collect/ImmutableMap;)V |
|
.locals 0 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"(", |
|
"Lcom/google/common/collect/ImmutableMap", |
|
"<TK;TV;>;)V" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 37 |
|
invoke-direct {p0}, Lcom/google/common/collect/ImmutableSet;-><init>()V |
|
|
|
.line 38 |
|
iput-object p1, p0, Lcom/google/common/collect/ImmutableMapKeySet;->map:Lcom/google/common/collect/ImmutableMap; |
|
|
|
.line 39 |
|
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 53 |
|
iget-object v0, p0, Lcom/google/common/collect/ImmutableMapKeySet;->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 createAsList()Lcom/google/common/collect/ImmutableList; |
|
.locals 2 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"()", |
|
"Lcom/google/common/collect/ImmutableList", |
|
"<TK;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 58 |
|
iget-object v0, p0, Lcom/google/common/collect/ImmutableMapKeySet;->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 |
|
|
|
.line 59 |
|
new-instance v1, Lcom/google/common/collect/ImmutableMapKeySet$1; |
|
|
|
invoke-direct {v1, p0, v0}, Lcom/google/common/collect/ImmutableMapKeySet$1;-><init>(Lcom/google/common/collect/ImmutableMapKeySet;Lcom/google/common/collect/ImmutableList;)V |
|
|
|
return-object v1 |
|
.end method |
|
|
|
.method isPartialView()Z |
|
.locals 1 |
|
|
|
.prologue |
|
.line 76 |
|
const/4 v0, 0x1 |
|
|
|
return v0 |
|
.end method |
|
|
|
.method public iterator()Lcom/google/common/collect/UnmodifiableIterator; |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"()", |
|
"Lcom/google/common/collect/UnmodifiableIterator", |
|
"<TK;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 48 |
|
invoke-virtual {p0}, Lcom/google/common/collect/ImmutableMapKeySet;->asList()Lcom/google/common/collect/ImmutableList; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0}, Lcom/google/common/collect/ImmutableList;->iterator()Lcom/google/common/collect/UnmodifiableIterator; |
|
|
|
move-result-object v0 |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method public bridge synthetic iterator()Ljava/util/Iterator; |
|
.locals 1 |
|
|
|
.prologue |
|
.line 33 |
|
invoke-virtual {p0}, Lcom/google/common/collect/ImmutableMapKeySet;->iterator()Lcom/google/common/collect/UnmodifiableIterator; |
|
|
|
move-result-object v0 |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method public size()I |
|
.locals 1 |
|
|
|
.prologue |
|
.line 43 |
|
iget-object v0, p0, Lcom/google/common/collect/ImmutableMapKeySet;->map:Lcom/google/common/collect/ImmutableMap; |
|
|
|
invoke-virtual {v0}, Lcom/google/common/collect/ImmutableMap;->size()I |
|
|
|
move-result v0 |
|
|
|
return v0 |
|
.end method |
|
|
|
.method writeReplace()Ljava/lang/Object; |
|
.locals 2 |
|
.annotation build Lcom/google/common/annotations/GwtIncompatible; |
|
value = "serialization" |
|
.end annotation |
|
|
|
.prologue |
|
.line 81 |
|
new-instance v0, Lcom/google/common/collect/ImmutableMapKeySet$KeySetSerializedForm; |
|
|
|
iget-object v1, p0, Lcom/google/common/collect/ImmutableMapKeySet;->map:Lcom/google/common/collect/ImmutableMap; |
|
|
|
invoke-direct {v0, v1}, Lcom/google/common/collect/ImmutableMapKeySet$KeySetSerializedForm;-><init>(Lcom/google/common/collect/ImmutableMap;)V |
|
|
|
return-object v0 |
|
.end method
|
|
|