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.
93 lines
2.7 KiB
93 lines
2.7 KiB
2 years ago
|
.class final Lcom/google/common/cache/LocalCache$WeightedSoftValueReference;
|
||
|
.super Lcom/google/common/cache/LocalCache$SoftValueReference;
|
||
|
.source "LocalCache.java"
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
||
|
value = Lcom/google/common/cache/LocalCache;
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
accessFlags = 0x18
|
||
|
name = "WeightedSoftValueReference"
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<K:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"V:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">",
|
||
|
"Lcom/google/common/cache/LocalCache$SoftValueReference",
|
||
|
"<TK;TV;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field final weight:I
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method constructor <init>(Ljava/lang/ref/ReferenceQueue;Ljava/lang/Object;Lcom/google/common/cache/LocalCache$ReferenceEntry;I)V
|
||
|
.locals 0
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Ljava/lang/ref/ReferenceQueue",
|
||
|
"<TV;>;TV;",
|
||
|
"Lcom/google/common/cache/LocalCache$ReferenceEntry",
|
||
|
"<TK;TV;>;I)V"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.prologue
|
||
|
.line 1754
|
||
|
invoke-direct {p0, p1, p2, p3}, Lcom/google/common/cache/LocalCache$SoftValueReference;-><init>(Ljava/lang/ref/ReferenceQueue;Ljava/lang/Object;Lcom/google/common/cache/LocalCache$ReferenceEntry;)V
|
||
|
|
||
|
.line 1755
|
||
|
iput p4, p0, Lcom/google/common/cache/LocalCache$WeightedSoftValueReference;->weight:I
|
||
|
|
||
|
.line 1756
|
||
|
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 2
|
||
|
.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 1765
|
||
|
new-instance v0, Lcom/google/common/cache/LocalCache$WeightedSoftValueReference;
|
||
|
|
||
|
iget v1, p0, Lcom/google/common/cache/LocalCache$WeightedSoftValueReference;->weight:I
|
||
|
|
||
|
invoke-direct {v0, p1, p2, p3, v1}, Lcom/google/common/cache/LocalCache$WeightedSoftValueReference;-><init>(Ljava/lang/ref/ReferenceQueue;Ljava/lang/Object;Lcom/google/common/cache/LocalCache$ReferenceEntry;I)V
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public getWeight()I
|
||
|
.locals 1
|
||
|
|
||
|
.prologue
|
||
|
.line 1760
|
||
|
iget v0, p0, Lcom/google/common/cache/LocalCache$WeightedSoftValueReference;->weight:I
|
||
|
|
||
|
return v0
|
||
|
.end method
|