102 lines
		
	
	
		
			2.5 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
			
		
		
	
	
			102 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 = 0x19
 | 
						|
    name = "CleanupMapTask"
 | 
						|
.end annotation
 | 
						|
 | 
						|
 | 
						|
# instance fields
 | 
						|
.field public 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 1
 | 
						|
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V
 | 
						|
 | 
						|
    .line 2
 | 
						|
    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 4
 | 
						|
 | 
						|
    .line 1
 | 
						|
    iget-object v0, p0, Lcom/google/common/collect/MapMakerInternalMap$CleanupMapTask;->mapReference:Ljava/lang/ref/WeakReference;
 | 
						|
 | 
						|
    invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;
 | 
						|
 | 
						|
    move-result-object v0
 | 
						|
 | 
						|
    check-cast v0, Lcom/google/common/collect/MapMakerInternalMap;
 | 
						|
 | 
						|
    if-eqz v0, :cond_1
 | 
						|
 | 
						|
    .line 2
 | 
						|
    iget-object v0, v0, Lcom/google/common/collect/MapMakerInternalMap;->segments:[Lcom/google/common/collect/MapMakerInternalMap$Segment;
 | 
						|
 | 
						|
    array-length v1, v0
 | 
						|
 | 
						|
    const/4 v2, 0x0
 | 
						|
 | 
						|
    :goto_0
 | 
						|
    if-ge v2, v1, :cond_0
 | 
						|
 | 
						|
    aget-object v3, v0, v2
 | 
						|
 | 
						|
    .line 3
 | 
						|
    invoke-virtual {v3}, Lcom/google/common/collect/MapMakerInternalMap$Segment;->runCleanup()V
 | 
						|
 | 
						|
    add-int/lit8 v2, v2, 0x1
 | 
						|
 | 
						|
    goto :goto_0
 | 
						|
 | 
						|
    :cond_0
 | 
						|
    return-void
 | 
						|
 | 
						|
    .line 4
 | 
						|
    :cond_1
 | 
						|
    new-instance v0, Ljava/util/concurrent/CancellationException;
 | 
						|
 | 
						|
    invoke-direct {v0}, Ljava/util/concurrent/CancellationException;-><init>()V
 | 
						|
 | 
						|
    throw v0
 | 
						|
.end method
 |