mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2025-01-09 13:43:22 +00:00
154 lines
3.9 KiB
Smali
154 lines
3.9 KiB
Smali
.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/ReferenceEntry;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lcom/google/common/cache/ReferenceEntry<",
|
|
"TK;TV;>;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Ljava/lang/ref/ReferenceQueue;Ljava/lang/Object;Lcom/google/common/cache/ReferenceEntry;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/ref/ReferenceQueue<",
|
|
"TV;>;TV;",
|
|
"Lcom/google/common/cache/ReferenceEntry<",
|
|
"TK;TV;>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1499
|
|
invoke-direct {p0, p2, p1}, Ljava/lang/ref/SoftReference;-><init>(Ljava/lang/Object;Ljava/lang/ref/ReferenceQueue;)V
|
|
|
|
iput-object p3, p0, Lcom/google/common/cache/LocalCache$SoftValueReference;->entry:Lcom/google/common/cache/ReferenceEntry;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public copyFor(Ljava/lang/ref/ReferenceQueue;Ljava/lang/Object;Lcom/google/common/cache/ReferenceEntry;)Lcom/google/common/cache/LocalCache$ValueReference;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/ref/ReferenceQueue<",
|
|
"TV;>;TV;",
|
|
"Lcom/google/common/cache/ReferenceEntry<",
|
|
"TK;TV;>;)",
|
|
"Lcom/google/common/cache/LocalCache$ValueReference<",
|
|
"TK;TV;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1519
|
|
new-instance p0, Lcom/google/common/cache/LocalCache$SoftValueReference;
|
|
|
|
invoke-direct {p0, p1, p2, p3}, Lcom/google/common/cache/LocalCache$SoftValueReference;-><init>(Ljava/lang/ref/ReferenceQueue;Ljava/lang/Object;Lcom/google/common/cache/ReferenceEntry;)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public getEntry()Lcom/google/common/cache/ReferenceEntry;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Lcom/google/common/cache/ReferenceEntry<",
|
|
"TK;TV;>;"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object p0, p0, Lcom/google/common/cache/LocalCache$SoftValueReference;->entry:Lcom/google/common/cache/ReferenceEntry;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public getWeight()I
|
|
.locals 0
|
|
|
|
const/4 p0, 0x1
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public isActive()Z
|
|
.locals 0
|
|
|
|
const/4 p0, 0x1
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public isLoading()Z
|
|
.locals 0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public notifyNewValue(Ljava/lang/Object;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(TV;)V"
|
|
}
|
|
.end annotation
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public waitForValue()Ljava/lang/Object;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()TV;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1534
|
|
invoke-virtual {p0}, Lcom/google/common/cache/LocalCache$SoftValueReference;->get()Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|