Rabbit-R1/android (non root)/smali/smali_classes3/com/google/common/collect/MapMakerInternalMap$CleanupMapTask.smali
2024-05-21 17:08:36 -04:00

101 lines
2.5 KiB
Smali

.class final Lcom/google/common/collect/MapMakerInternalMap$CleanupMapTask;
.super Ljava/lang/Object;
.source "MapMakerInternalMap.java"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/common/collect/MapMakerInternalMap;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = "CleanupMapTask"
.end annotation
# instance fields
.field final mapReference:Ljava/lang/ref/WeakReference;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/ref/WeakReference<",
"Lcom/google/common/collect/MapMakerInternalMap<",
"****>;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lcom/google/common/collect/MapMakerInternalMap;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/google/common/collect/MapMakerInternalMap<",
"****>;)V"
}
.end annotation
.line 2267
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2268
new-instance v0, Ljava/lang/ref/WeakReference;
invoke-direct {v0, p1}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V
iput-object v0, p0, Lcom/google/common/collect/MapMakerInternalMap$CleanupMapTask;->mapReference:Ljava/lang/ref/WeakReference;
return-void
.end method
# virtual methods
.method public run()V
.locals 3
iget-object p0, p0, Lcom/google/common/collect/MapMakerInternalMap$CleanupMapTask;->mapReference:Ljava/lang/ref/WeakReference;
.line 2273
invoke-virtual {p0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;
move-result-object p0
check-cast p0, Lcom/google/common/collect/MapMakerInternalMap;
if-eqz p0, :cond_1
.line 2278
iget-object p0, p0, Lcom/google/common/collect/MapMakerInternalMap;->segments:[Lcom/google/common/collect/MapMakerInternalMap$Segment;
array-length v0, p0
const/4 v1, 0x0
:goto_0
if-ge v1, v0, :cond_0
aget-object v2, p0, v1
.line 2279
invoke-virtual {v2}, Lcom/google/common/collect/MapMakerInternalMap$Segment;->runCleanup()V
add-int/lit8 v1, v1, 0x1
goto :goto_0
:cond_0
return-void
.line 2275
:cond_1
new-instance p0, Ljava/util/concurrent/CancellationException;
invoke-direct {p0}, Ljava/util/concurrent/CancellationException;-><init>()V
throw p0
.end method