jk.smali

.class public abstract Lcom/google/obf/jk;
.super Lcom/google/obf/jj;
.source "IMASDK"

# interfaces
.implements Ljava/util/List;
.implements Ljava/util/RandomAccess;


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/google/obf/jk$b;,
        Lcom/google/obf/jk$a;
    }
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "<E:",
        "Ljava/lang/Object;",
        ">",
        "Lcom/google/obf/jj<",
        "TE;>;",
        "Ljava/util/List<",
        "TE;>;",
        "Ljava/util/RandomAccess;"
    }
.end annotation


# static fields
.field private static final a:Lcom/google/obf/jy;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lcom/google/obf/jy<",
            "Ljava/lang/Object;",
            ">;"
        }
    .end annotation
.end field


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

    .line 51
    new-instance v0, Lcom/google/obf/jk$a;

    sget-object v1, Lcom/google/obf/jt;->a:Lcom/google/obf/jk;

    const/4 v2, 0x0

    invoke-direct {v0, v1, v2}, Lcom/google/obf/jk$a;-><init>(Lcom/google/obf/jk;I)V

    sput-object v0, Lcom/google/obf/jk;->a:Lcom/google/obf/jy;

    return-void
.end method

.method constructor <init>()V
    .registers 1

    .line 11
    invoke-direct {p0}, Lcom/google/obf/jj;-><init>()V

    return-void
.end method

.method public static a(Ljava/util/Collection;)Lcom/google/obf/jk;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<E:",
            "Ljava/lang/Object;",
            ">(",
            "Ljava/util/Collection<",
            "+TE;>;)",
            "Lcom/google/obf/jk<",
            "TE;>;"
        }
    .end annotation

    .line 2
    instance-of v0, p0, Lcom/google/obf/jj;

    if-eqz v0, :cond_19

    .line 3
    check-cast p0, Lcom/google/obf/jj;

    invoke-virtual {p0}, Lcom/google/obf/jj;->b()Lcom/google/obf/jk;

    move-result-object p0

    .line 4
    invoke-virtual {p0}, Lcom/google/obf/jk;->c()Z

    move-result v0

    if-eqz v0, :cond_18

    invoke-virtual {p0}, Lcom/google/obf/jk;->toArray()[Ljava/lang/Object;

    move-result-object p0

    invoke-static {p0}, Lcom/google/obf/jk;->a([Ljava/lang/Object;)Lcom/google/obf/jk;

    move-result-object p0

    :cond_18
    return-object p0

    .line 5
    :cond_19
    invoke-interface {p0}, Ljava/util/Collection;->toArray()[Ljava/lang/Object;

    move-result-object p0

    invoke-static {p0}, Lcom/google/obf/jk;->b([Ljava/lang/Object;)Lcom/google/obf/jk;

    move-result-object p0

    return-object p0
.end method

.method static a([Ljava/lang/Object;)Lcom/google/obf/jk;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<E:",
            "Ljava/lang/Object;",
            ">([",
            "Ljava/lang/Object;",
            ")",
            "Lcom/google/obf/jk<",
            "TE;>;"
        }
    .end annotation

    .line 7
    array-length v0, p0

    invoke-static {p0, v0}, Lcom/google/obf/jk;->b([Ljava/lang/Object;I)Lcom/google/obf/jk;

    move-result-object p0

    return-object p0
.end method

.method private static varargs b([Ljava/lang/Object;)Lcom/google/obf/jk;
    .registers 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<E:",
            "Ljava/lang/Object;",
            ">([",
            "Ljava/lang/Object;",
            ")",
            "Lcom/google/obf/jk<",
            "TE;>;"
        }
    .end annotation

    .line 6
    invoke-static {p0}, Lcom/google/obf/jq;->a([Ljava/lang/Object;)[Ljava/lang/Object;

    move-result-object p0

    invoke-static {p0}, Lcom/google/obf/jk;->a([Ljava/lang/Object;)Lcom/google/obf/jk;

    move-result-object p0

    return-object p0
.end method

.method static b([Ljava/lang/Object;I)Lcom/google/obf/jk;
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<E:",
            "Ljava/lang/Object;",
            ">([",
            "Ljava/lang/Object;",
            "I)",
            "Lcom/google/obf/jk<",
            "TE;>;"
        }
    .end annotation

    if-nez p1, :cond_7

    .line 9
    invoke-static {}, Lcom/google/obf/jk;->d()Lcom/google/obf/jk;

    move-result-object p0

    return-object p0

    .line 10
    :cond_7
    new-instance v0, Lcom/google/obf/jt;

    invoke-direct {v0, p0, p1}, Lcom/google/obf/jt;-><init>([Ljava/lang/Object;I)V

    return-object v0
.end method

.method public static d()Lcom/google/obf/jk;
    .registers 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<E:",
            "Ljava/lang/Object;",
            ">()",
            "Lcom/google/obf/jk<",
            "TE;>;"
        }
    .end annotation

    .line 1
    sget-object v0, Lcom/google/obf/jt;->a:Lcom/google/obf/jk;

    return-object v0
.end method


# virtual methods
.method a([Ljava/lang/Object;I)I
    .registers 7

    .line 34
    invoke-virtual {p0}, Lcom/google/obf/jk;->size()I

    move-result v0

    const/4 v1, 0x0

    :goto_5
    if-ge v1, v0, :cond_12

    add-int v2, p2, v1

    .line 36
    invoke-virtual {p0, v1}, Lcom/google/obf/jk;->get(I)Ljava/lang/Object;

    move-result-object v3

    aput-object v3, p1, v2

    add-int/lit8 v1, v1, 0x1

    goto :goto_5

    :cond_12
    add-int/2addr p2, v0

    return p2
.end method

.method public a(II)Lcom/google/obf/jk;
    .registers 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(II)",
            "Lcom/google/obf/jk<",
            "TE;>;"
        }
    .end annotation

    .line 21
    invoke-virtual {p0}, Lcom/google/obf/jk;->size()I

    move-result v0

    invoke-static {p1, p2, v0}, Lcom/google/obf/jb;->a(III)V

    sub-int v0, p2, p1

    .line 23
    invoke-virtual {p0}, Lcom/google/obf/jk;->size()I

    move-result v1

    if-ne v0, v1, :cond_10

    return-object p0

    :cond_10
    if-nez v0, :cond_17

    .line 26
    invoke-static {}, Lcom/google/obf/jk;->d()Lcom/google/obf/jk;

    move-result-object p1

    return-object p1

    .line 27
    :cond_17
    invoke-virtual {p0, p1, p2}, Lcom/google/obf/jk;->b(II)Lcom/google/obf/jk;

    move-result-object p1

    return-object p1
.end method

.method public a()Lcom/google/obf/jx;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Lcom/google/obf/jx<",
            "TE;>;"
        }
    .end annotation

    .line 12
    invoke-virtual {p0}, Lcom/google/obf/jk;->e()Lcom/google/obf/jy;

    move-result-object v0

    return-object v0
.end method

.method public a(I)Lcom/google/obf/jy;
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(I)",
            "Lcom/google/obf/jy<",
            "TE;>;"
        }
    .end annotation

    .line 14
    invoke-virtual {p0}, Lcom/google/obf/jk;->size()I

    move-result v0

    invoke-static {p1, v0}, Lcom/google/obf/jb;->b(II)I

    .line 15
    invoke-virtual {p0}, Lcom/google/obf/jk;->isEmpty()Z

    move-result v0

    if-eqz v0, :cond_10

    .line 16
    sget-object p1, Lcom/google/obf/jk;->a:Lcom/google/obf/jy;

    return-object p1

    .line 17
    :cond_10
    new-instance v0, Lcom/google/obf/jk$a;

    invoke-direct {v0, p0, p1}, Lcom/google/obf/jk$a;-><init>(Lcom/google/obf/jk;I)V

    return-object v0
.end method

.method public final add(ILjava/lang/Object;)V
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(ITE;)V"
        }
    .end annotation

    .annotation runtime Ljava/lang/Deprecated;
    .end annotation

    .line 31
    new-instance p1, Ljava/lang/UnsupportedOperationException;

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

    throw p1
.end method

.method public final addAll(ILjava/util/Collection;)Z
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(I",
            "Ljava/util/Collection<",
            "+TE;>;)Z"
        }
    .end annotation

    .annotation runtime Ljava/lang/Deprecated;
    .end annotation

    .line 29
    new-instance p1, Ljava/lang/UnsupportedOperationException;

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

    throw p1
.end method

.method public final b()Lcom/google/obf/jk;
    .registers 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Lcom/google/obf/jk<",
            "TE;>;"
        }
    .end annotation

    return-object p0
.end method

.method b(II)Lcom/google/obf/jk;
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(II)",
            "Lcom/google/obf/jk<",
            "TE;>;"
        }
    .end annotation

    .line 28
    new-instance v0, Lcom/google/obf/jk$b;

    sub-int/2addr p2, p1

    invoke-direct {v0, p0, p1, p2}, Lcom/google/obf/jk$b;-><init>(Lcom/google/obf/jk;II)V

    return-object v0
.end method

.method public contains(Ljava/lang/Object;)Z
    .registers 2

    .line 20
    invoke-virtual {p0, p1}, Lcom/google/obf/jk;->indexOf(Ljava/lang/Object;)I

    move-result p1

    if-ltz p1, :cond_8

    const/4 p1, 0x1

    goto :goto_9

    :cond_8
    const/4 p1, 0x0

    :goto_9
    return p1
.end method

.method public e()Lcom/google/obf/jy;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Lcom/google/obf/jy<",
            "TE;>;"
        }
    .end annotation

    const/4 v0, 0x0

    .line 13
    invoke-virtual {p0, v0}, Lcom/google/obf/jk;->a(I)Lcom/google/obf/jy;

    move-result-object v0

    return-object v0
.end method

.method public equals(Ljava/lang/Object;)Z
    .registers 2

    .line 39
    invoke-static {p0, p1}, Lcom/google/obf/jo;->a(Ljava/util/List;Ljava/lang/Object;)Z

    move-result p1

    return p1
.end method

.method public hashCode()I
    .registers 5

    .line 41
    invoke-virtual {p0}, Lcom/google/obf/jk;->size()I

    move-result v0

    const/4 v1, 0x1

    const/4 v2, 0x0

    :goto_6
    if-ge v2, v0, :cond_18

    mul-int/lit8 v1, v1, 0x1f

    .line 43
    invoke-virtual {p0, v2}, Lcom/google/obf/jk;->get(I)Ljava/lang/Object;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/Object;->hashCode()I

    move-result v3

    add-int/2addr v1, v3

    not-int v1, v1

    not-int v1, v1

    add-int/lit8 v2, v2, 0x1

    goto :goto_6

    :cond_18
    return v1
.end method

.method public indexOf(Ljava/lang/Object;)I
    .registers 2

    if-nez p1, :cond_4

    const/4 p1, -0x1

    goto :goto_8

    .line 18
    :cond_4
    invoke-static {p0, p1}, Lcom/google/obf/jo;->b(Ljava/util/List;Ljava/lang/Object;)I

    move-result p1

    :goto_8
    return p1
.end method

.method public synthetic iterator()Ljava/util/Iterator;
    .registers 2

    .line 47
    invoke-virtual {p0}, Lcom/google/obf/jk;->a()Lcom/google/obf/jx;

    move-result-object v0

    return-object v0
.end method

.method public lastIndexOf(Ljava/lang/Object;)I
    .registers 2

    if-nez p1, :cond_4

    const/4 p1, -0x1

    goto :goto_8

    .line 19
    :cond_4
    invoke-static {p0, p1}, Lcom/google/obf/jo;->c(Ljava/util/List;Ljava/lang/Object;)I

    move-result p1

    :goto_8
    return p1
.end method

.method public synthetic listIterator()Ljava/util/ListIterator;
    .registers 2

    .line 50
    invoke-virtual {p0}, Lcom/google/obf/jk;->e()Lcom/google/obf/jy;

    move-result-object v0

    return-object v0
.end method

.method public synthetic listIterator(I)Ljava/util/ListIterator;
    .registers 2

    .line 49
    invoke-virtual {p0, p1}, Lcom/google/obf/jk;->a(I)Lcom/google/obf/jy;

    move-result-object p1

    return-object p1
.end method

.method public final remove(I)Ljava/lang/Object;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(I)TE;"
        }
    .end annotation

    .annotation runtime Ljava/lang/Deprecated;
    .end annotation

    .line 32
    new-instance p1, Ljava/lang/UnsupportedOperationException;

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

    throw p1
.end method

.method public final set(ILjava/lang/Object;)Ljava/lang/Object;
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(ITE;)TE;"
        }
    .end annotation

    .annotation runtime Ljava/lang/Deprecated;
    .end annotation

    .line 30
    new-instance p1, Ljava/lang/UnsupportedOperationException;

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

    throw p1
.end method

.method public synthetic subList(II)Ljava/util/List;
    .registers 3

    .line 48
    invoke-virtual {p0, p1, p2}, Lcom/google/obf/jk;->a(II)Lcom/google/obf/jk;

    move-result-object p1

    return-object p1
.end method