今奥全景相机
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.

169 lines
4.2 KiB

.class Lcom/google/common/cache/LocalCache$WeakValueReference;
.super Ljava/lang/ref/WeakReference;
.source "LocalCache.java"
# interfaces
.implements Lcom/google/common/cache/LocalCache$ValueReference;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/common/cache/LocalCache;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x8
name = "WeakValueReference"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">",
"Ljava/lang/ref/WeakReference",
"<TV;>;",
"Lcom/google/common/cache/LocalCache$ValueReference",
"<TK;TV;>;"
}
.end annotation
# instance fields
.field final entry:Lcom/google/common/cache/LocalCache$ReferenceEntry;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/google/common/cache/LocalCache$ReferenceEntry",
"<TK;TV;>;"
}
.end annotation
.end field
# direct methods
.method constructor <init>(Ljava/lang/ref/ReferenceQueue;Ljava/lang/Object;Lcom/google/common/cache/LocalCache$ReferenceEntry;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/ref/ReferenceQueue",
"<TV;>;TV;",
"Lcom/google/common/cache/LocalCache$ReferenceEntry",
"<TK;TV;>;)V"
}
.end annotation
.prologue
.line 1586
invoke-direct {p0, p2, p1}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;Ljava/lang/ref/ReferenceQueue;)V
.line 1587
iput-object p3, p0, Lcom/google/common/cache/LocalCache$WeakValueReference;->entry:Lcom/google/common/cache/LocalCache$ReferenceEntry;
.line 1588
return-void
.end method
# virtual methods
.method public copyFor(Ljava/lang/ref/ReferenceQueue;Ljava/lang/Object;Lcom/google/common/cache/LocalCache$ReferenceEntry;)Lcom/google/common/cache/LocalCache$ValueReference;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/ref/ReferenceQueue",
"<TV;>;TV;",
"Lcom/google/common/cache/LocalCache$ReferenceEntry",
"<TK;TV;>;)",
"Lcom/google/common/cache/LocalCache$ValueReference",
"<TK;TV;>;"
}
.end annotation
.prologue
.line 1606
new-instance v0, Lcom/google/common/cache/LocalCache$WeakValueReference;
invoke-direct {v0, p1, p2, p3}, Lcom/google/common/cache/LocalCache$WeakValueReference;-><init>(Ljava/lang/ref/ReferenceQueue;Ljava/lang/Object;Lcom/google/common/cache/LocalCache$ReferenceEntry;)V
return-object v0
.end method
.method public getEntry()Lcom/google/common/cache/LocalCache$ReferenceEntry;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lcom/google/common/cache/LocalCache$ReferenceEntry",
"<TK;TV;>;"
}
.end annotation
.prologue
.line 1597
iget-object v0, p0, Lcom/google/common/cache/LocalCache$WeakValueReference;->entry:Lcom/google/common/cache/LocalCache$ReferenceEntry;
return-object v0
.end method
.method public getWeight()I
.locals 1
.prologue
.line 1592
const/4 v0, 0x1
return v0
.end method
.method public isActive()Z
.locals 1
.prologue
.line 1616
const/4 v0, 0x1
return v0
.end method
.method public isLoading()Z
.locals 1
.prologue
.line 1611
const/4 v0, 0x0
return v0
.end method
.method public notifyNewValue(Ljava/lang/Object;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(TV;)V"
}
.end annotation
.prologue
.line 1601
return-void
.end method
.method public waitForValue()Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()TV;"
}
.end annotation
.prologue
.line 1621
invoke-virtual {p0}, Lcom/google/common/cache/LocalCache$WeakValueReference;->get()Ljava/lang/Object;
move-result-object v0
return-object v0
.end method