今奥全景相机
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$SoftValueReference;
.super Ljava/lang/ref/SoftReference;
.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 = "SoftValueReference"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">",
"Ljava/lang/ref/SoftReference",
"<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 1633
invoke-direct {p0, p2, p1}, Ljava/lang/ref/SoftReference;-><init>(Ljava/lang/Object;Ljava/lang/ref/ReferenceQueue;)V
.line 1634
iput-object p3, p0, Lcom/google/common/cache/LocalCache$SoftValueReference;->entry:Lcom/google/common/cache/LocalCache$ReferenceEntry;
.line 1635
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 1653
new-instance v0, Lcom/google/common/cache/LocalCache$SoftValueReference;
invoke-direct {v0, p1, p2, p3}, Lcom/google/common/cache/LocalCache$SoftValueReference;-><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 1644
iget-object v0, p0, Lcom/google/common/cache/LocalCache$SoftValueReference;->entry:Lcom/google/common/cache/LocalCache$ReferenceEntry;
return-object v0
.end method
.method public getWeight()I
.locals 1
.prologue
.line 1639
const/4 v0, 0x1
return v0
.end method
.method public isActive()Z
.locals 1
.prologue
.line 1663
const/4 v0, 0x1
return v0
.end method
.method public isLoading()Z
.locals 1
.prologue
.line 1658
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 1648
return-void
.end method
.method public waitForValue()Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()TV;"
}
.end annotation
.prologue
.line 1668
invoke-virtual {p0}, Lcom/google/common/cache/LocalCache$SoftValueReference;->get()Ljava/lang/Object;
move-result-object v0
return-object v0
.end method