apkfuckery/com.discord/smali_classes2/kotlin/a/d.smali
2019-07-26 08:05:06 +02:00

433 lines
8.6 KiB
Smali

.class public abstract Lkotlin/a/d;
.super Lkotlin/a/a;
.source "AbstractList.kt"
# interfaces
.implements Ljava/util/List;
.implements Lkotlin/jvm/internal/a/a;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lkotlin/a/d$d;,
Lkotlin/a/d$b;,
Lkotlin/a/d$c;,
Lkotlin/a/d$a;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<E:",
"Ljava/lang/Object;",
">",
"Lkotlin/a/a<",
"TE;>;",
"Ljava/util/List<",
"TE;>;",
"Lkotlin/jvm/internal/a/a;"
}
.end annotation
# static fields
.field public static final bhZ:Lkotlin/a/d$a;
# direct methods
.method static constructor <clinit>()V
.locals 2
new-instance v0, Lkotlin/a/d$a;
const/4 v1, 0x0
invoke-direct {v0, v1}, Lkotlin/a/d$a;-><init>(B)V
sput-object v0, Lkotlin/a/d;->bhZ:Lkotlin/a/d$a;
return-void
.end method
.method protected constructor <init>()V
.locals 0
invoke-direct {p0}, Lkotlin/a/a;-><init>()V
return-void
.end method
# virtual methods
.method public add(ILjava/lang/Object;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(ITE;)V"
}
.end annotation
new-instance p1, Ljava/lang/UnsupportedOperationException;
const-string p2, "Operation is not supported for read-only collection"
invoke-direct {p1, p2}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw p1
.end method
.method public addAll(ILjava/util/Collection;)Z
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(I",
"Ljava/util/Collection<",
"+TE;>;)Z"
}
.end annotation
new-instance p1, Ljava/lang/UnsupportedOperationException;
const-string p2, "Operation is not supported for read-only collection"
invoke-direct {p1, p2}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw p1
.end method
.method public equals(Ljava/lang/Object;)Z
.locals 5
move-object v0, p0
check-cast v0, Lkotlin/a/d;
const/4 v1, 0x1
if-ne p1, v0, :cond_0
return v1
:cond_0
instance-of v0, p1, Ljava/util/List;
const/4 v2, 0x0
if-nez v0, :cond_1
return v2
:cond_1
move-object v0, p0
check-cast v0, Ljava/util/Collection;
check-cast p1, Ljava/util/Collection;
const-string v3, "c"
invoke-static {v0, v3}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
const-string v3, "other"
invoke-static {p1, v3}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
invoke-interface {v0}, Ljava/util/Collection;->size()I
move-result v3
invoke-interface {p1}, Ljava/util/Collection;->size()I
move-result v4
if-eq v3, v4, :cond_2
return v2
:cond_2
invoke-interface {p1}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;
move-result-object p1
invoke-interface {v0}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;
move-result-object v0
:cond_3
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v3
if-eqz v3, :cond_4
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v3
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v4
invoke-static {v3, v4}, Lkotlin/jvm/internal/k;->n(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v3
xor-int/2addr v3, v1
if-eqz v3, :cond_3
return v2
:cond_4
return v1
.end method
.method public abstract get(I)Ljava/lang/Object;
.annotation system Ldalvik/annotation/Signature;
value = {
"(I)TE;"
}
.end annotation
.end method
.method public hashCode()I
.locals 3
move-object v0, p0
check-cast v0, Ljava/util/Collection;
const-string v1, "c"
invoke-static {v0, v1}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
invoke-interface {v0}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;
move-result-object v0
const/4 v1, 0x1
:goto_0
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_1
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v2
mul-int/lit8 v1, v1, 0x1f
if-eqz v2, :cond_0
invoke-virtual {v2}, Ljava/lang/Object;->hashCode()I
move-result v2
goto :goto_1
:cond_0
const/4 v2, 0x0
:goto_1
add-int/2addr v1, v2
goto :goto_0
:cond_1
return v1
.end method
.method public indexOf(Ljava/lang/Object;)I
.locals 3
invoke-interface {p0}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object v0
const/4 v1, 0x0
:goto_0
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_1
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v2
invoke-static {v2, p1}, Lkotlin/jvm/internal/k;->n(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v2
if-eqz v2, :cond_0
return v1
:cond_0
add-int/lit8 v1, v1, 0x1
goto :goto_0
:cond_1
const/4 p1, -0x1
return p1
.end method
.method public iterator()Ljava/util/Iterator;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Iterator<",
"TE;>;"
}
.end annotation
new-instance v0, Lkotlin/a/d$b;
invoke-direct {v0, p0}, Lkotlin/a/d$b;-><init>(Lkotlin/a/d;)V
check-cast v0, Ljava/util/Iterator;
return-object v0
.end method
.method public lastIndexOf(Ljava/lang/Object;)I
.locals 2
invoke-interface {p0}, Ljava/util/List;->size()I
move-result v0
invoke-interface {p0, v0}, Ljava/util/List;->listIterator(I)Ljava/util/ListIterator;
move-result-object v0
:cond_0
invoke-interface {v0}, Ljava/util/ListIterator;->hasPrevious()Z
move-result v1
if-eqz v1, :cond_1
invoke-interface {v0}, Ljava/util/ListIterator;->previous()Ljava/lang/Object;
move-result-object v1
invoke-static {v1, p1}, Lkotlin/jvm/internal/k;->n(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_0
invoke-interface {v0}, Ljava/util/ListIterator;->nextIndex()I
move-result p1
return p1
:cond_1
const/4 p1, -0x1
return p1
.end method
.method public listIterator()Ljava/util/ListIterator;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/ListIterator<",
"TE;>;"
}
.end annotation
new-instance v0, Lkotlin/a/d$c;
const/4 v1, 0x0
invoke-direct {v0, p0, v1}, Lkotlin/a/d$c;-><init>(Lkotlin/a/d;I)V
check-cast v0, Ljava/util/ListIterator;
return-object v0
.end method
.method public listIterator(I)Ljava/util/ListIterator;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(I)",
"Ljava/util/ListIterator<",
"TE;>;"
}
.end annotation
new-instance v0, Lkotlin/a/d$c;
invoke-direct {v0, p0, p1}, Lkotlin/a/d$c;-><init>(Lkotlin/a/d;I)V
check-cast v0, Ljava/util/ListIterator;
return-object v0
.end method
.method public remove(I)Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(I)TE;"
}
.end annotation
new-instance p1, Ljava/lang/UnsupportedOperationException;
const-string v0, "Operation is not supported for read-only collection"
invoke-direct {p1, v0}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw p1
.end method
.method public set(ILjava/lang/Object;)Ljava/lang/Object;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(ITE;)TE;"
}
.end annotation
new-instance p1, Ljava/lang/UnsupportedOperationException;
const-string p2, "Operation is not supported for read-only collection"
invoke-direct {p1, p2}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw p1
.end method
.method public subList(II)Ljava/util/List;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(II)",
"Ljava/util/List<",
"TE;>;"
}
.end annotation
new-instance v0, Lkotlin/a/d$d;
invoke-direct {v0, p0, p1, p2}, Lkotlin/a/d$d;-><init>(Lkotlin/a/d;II)V
check-cast v0, Ljava/util/List;
return-object v0
.end method