ParcelableMapStringLong.smali

.class public Lcom/cleanmaster/util/ParcelableMapStringLong;
.super Ljava/lang/Object;
.source "ParcelableMapStringLong.java"

# interfaces
.implements Landroid/os/Parcelable;


# static fields
.field static final synthetic $assertionsDisabled:Z

.field public static final CREATOR:Landroid/os/Parcelable$Creator;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Landroid/os/Parcelable$Creator",
            "<",
            "Lcom/cleanmaster/util/ParcelableMapStringLong;",
            ">;"
        }
    .end annotation
.end field


# instance fields
.field public mCacheData:Ljava/util/Map;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/Long;",
            ">;"
        }
    .end annotation
.end field


# direct methods
.method static constructor <clinit>()V
    .registers 1

    .prologue
    .line 10
    const-class v0, Lcom/cleanmaster/util/ParcelableMapStringLong;

    invoke-virtual {v0}, Ljava/lang/Class;->desiredAssertionStatus()Z

    move-result v0

    if-nez v0, :cond_13

    const/4 v0, 0x1

    :goto_9
    sput-boolean v0, Lcom/cleanmaster/util/ParcelableMapStringLong;->$assertionsDisabled:Z

    .line 33
    new-instance v0, Lcom/cleanmaster/util/ParcelableMapStringLong$1;

    invoke-direct {v0}, Lcom/cleanmaster/util/ParcelableMapStringLong$1;-><init>()V

    sput-object v0, Lcom/cleanmaster/util/ParcelableMapStringLong;->CREATOR:Landroid/os/Parcelable$Creator;

    return-void

    .line 10
    :cond_13
    const/4 v0, 0x0

    goto :goto_9
.end method

.method public constructor <init>(Ljava/util/Map;)V
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/Long;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 14
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 15
    iput-object p1, p0, Lcom/cleanmaster/util/ParcelableMapStringLong;->mCacheData:Ljava/util/Map;

    .line 17
    if-nez p1, :cond_d

    .line 18
    new-instance v0, Ljava/lang/NullPointerException;

    invoke-direct {v0}, Ljava/lang/NullPointerException;-><init>()V

    throw v0

    .line 20
    :cond_d
    return-void
.end method


# virtual methods
.method public describeContents()I
    .registers 2

    .prologue
    .line 24
    const/4 v0, 0x0

    return v0
.end method

.method public writeToParcel(Landroid/os/Parcel;I)V
    .registers 4

    .prologue
    .line 29
    sget-boolean v0, Lcom/cleanmaster/util/ParcelableMapStringLong;->$assertionsDisabled:Z

    if-nez v0, :cond_e

    iget-object v0, p0, Lcom/cleanmaster/util/ParcelableMapStringLong;->mCacheData:Ljava/util/Map;

    if-nez v0, :cond_e

    new-instance v0, Ljava/lang/AssertionError;

    invoke-direct {v0}, Ljava/lang/AssertionError;-><init>()V

    throw v0

    .line 30
    :cond_e
    iget-object v0, p0, Lcom/cleanmaster/util/ParcelableMapStringLong;->mCacheData:Ljava/util/Map;

    invoke-virtual {p1, v0}, Landroid/os/Parcel;->writeMap(Ljava/util/Map;)V

    .line 31
    return-void
.end method