Rabbit-R1/android (non root)/smali/smali_classes2/com/google/common/cache/LocalCache$Strength$2.smali
2024-05-21 17:08:36 -04:00

91 lines
2.8 KiB
Smali

.class final enum Lcom/google/common/cache/LocalCache$Strength$2;
.super Lcom/google/common/cache/LocalCache$Strength;
.source "LocalCache.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/common/cache/LocalCache$Strength;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x4010
name = null
.end annotation
# direct methods
.method constructor <init>(Ljava/lang/String;I)V
.locals 1
const/4 v0, 0x0
.line 397
invoke-direct {p0, p1, p2, v0}, Lcom/google/common/cache/LocalCache$Strength;-><init>(Ljava/lang/String;ILcom/google/common/cache/LocalCache$1;)V
return-void
.end method
# virtual methods
.method defaultEquivalence()Lcom/google/common/base/Equivalence;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lcom/google/common/base/Equivalence<",
"Ljava/lang/Object;",
">;"
}
.end annotation
.line 409
invoke-static {}, Lcom/google/common/base/Equivalence;->identity()Lcom/google/common/base/Equivalence;
move-result-object p0
return-object p0
.end method
.method referenceValue(Lcom/google/common/cache/LocalCache$Segment;Lcom/google/common/cache/ReferenceEntry;Ljava/lang/Object;I)Lcom/google/common/cache/LocalCache$ValueReference;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">(",
"Lcom/google/common/cache/LocalCache$Segment<",
"TK;TV;>;",
"Lcom/google/common/cache/ReferenceEntry<",
"TK;TV;>;TV;I)",
"Lcom/google/common/cache/LocalCache$ValueReference<",
"TK;TV;>;"
}
.end annotation
const/4 p0, 0x1
if-ne p4, p0, :cond_0
.line 402
new-instance p0, Lcom/google/common/cache/LocalCache$SoftValueReference;
iget-object p1, p1, Lcom/google/common/cache/LocalCache$Segment;->valueReferenceQueue:Ljava/lang/ref/ReferenceQueue;
invoke-direct {p0, p1, p3, p2}, Lcom/google/common/cache/LocalCache$SoftValueReference;-><init>(Ljava/lang/ref/ReferenceQueue;Ljava/lang/Object;Lcom/google/common/cache/ReferenceEntry;)V
goto :goto_0
.line 403
:cond_0
new-instance p0, Lcom/google/common/cache/LocalCache$WeightedSoftValueReference;
iget-object p1, p1, Lcom/google/common/cache/LocalCache$Segment;->valueReferenceQueue:Ljava/lang/ref/ReferenceQueue;
invoke-direct {p0, p1, p3, p2, p4}, Lcom/google/common/cache/LocalCache$WeightedSoftValueReference;-><init>(Ljava/lang/ref/ReferenceQueue;Ljava/lang/Object;Lcom/google/common/cache/ReferenceEntry;I)V
:goto_0
return-object p0
.end method