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.
109 lines
2.7 KiB
109 lines
2.7 KiB
.class final Lcom/google/common/cache/LocalCache$KeySet; |
|
.super Lcom/google/common/cache/LocalCache$AbstractCacheSet; |
|
.source "LocalCache.java" |
|
|
|
|
|
# annotations |
|
.annotation system Ldalvik/annotation/EnclosingClass; |
|
value = Lcom/google/common/cache/LocalCache; |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/InnerClass; |
|
accessFlags = 0x10 |
|
name = "KeySet" |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"Lcom/google/common/cache/LocalCache", |
|
"<TK;TV;>.AbstractCacheSet<TK;>;" |
|
} |
|
.end annotation |
|
|
|
|
|
# instance fields |
|
.field final synthetic this$0:Lcom/google/common/cache/LocalCache; |
|
|
|
|
|
# direct methods |
|
.method constructor <init>(Lcom/google/common/cache/LocalCache;Ljava/util/concurrent/ConcurrentMap;)V |
|
.locals 0 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"(", |
|
"Ljava/util/concurrent/ConcurrentMap", |
|
"<**>;)V" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 4459 |
|
iput-object p1, p0, Lcom/google/common/cache/LocalCache$KeySet;->this$0:Lcom/google/common/cache/LocalCache; |
|
|
|
.line 4460 |
|
invoke-direct {p0, p1, p2}, Lcom/google/common/cache/LocalCache$AbstractCacheSet;-><init>(Lcom/google/common/cache/LocalCache;Ljava/util/concurrent/ConcurrentMap;)V |
|
|
|
.line 4461 |
|
return-void |
|
.end method |
|
|
|
|
|
# virtual methods |
|
.method public contains(Ljava/lang/Object;)Z |
|
.locals 1 |
|
|
|
.prologue |
|
.line 4470 |
|
iget-object v0, p0, Lcom/google/common/cache/LocalCache$KeySet;->map:Ljava/util/concurrent/ConcurrentMap; |
|
|
|
invoke-interface {v0, p1}, Ljava/util/concurrent/ConcurrentMap;->containsKey(Ljava/lang/Object;)Z |
|
|
|
move-result v0 |
|
|
|
return v0 |
|
.end method |
|
|
|
.method public iterator()Ljava/util/Iterator; |
|
.locals 2 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"()", |
|
"Ljava/util/Iterator", |
|
"<TK;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 4465 |
|
new-instance v0, Lcom/google/common/cache/LocalCache$KeyIterator; |
|
|
|
iget-object v1, p0, Lcom/google/common/cache/LocalCache$KeySet;->this$0:Lcom/google/common/cache/LocalCache; |
|
|
|
invoke-direct {v0, v1}, Lcom/google/common/cache/LocalCache$KeyIterator;-><init>(Lcom/google/common/cache/LocalCache;)V |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method public remove(Ljava/lang/Object;)Z |
|
.locals 1 |
|
|
|
.prologue |
|
.line 4475 |
|
iget-object v0, p0, Lcom/google/common/cache/LocalCache$KeySet;->map:Ljava/util/concurrent/ConcurrentMap; |
|
|
|
invoke-interface {v0, p1}, Ljava/util/concurrent/ConcurrentMap;->remove(Ljava/lang/Object;)Ljava/lang/Object; |
|
|
|
move-result-object 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
|
|
|