apkfuckery/com.discord/smali_classes2/z/i/c.smali
2020-11-12 02:11:44 +00:00

400 lines
7.9 KiB
Smali

.class public abstract Lz/i/c;
.super Lz/i/a;
.source "AbstractList.kt"
# interfaces
.implements Ljava/util/List;
.implements Lz/n/c/x/a;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lz/i/c$c;,
Lz/i/c$a;,
Lz/i/c$b;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<E:",
"Ljava/lang/Object;",
">",
"Lz/i/a<",
"TE;>;",
"Ljava/util/List<",
"TE;>;",
"Lz/n/c/x/a;"
}
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Lz/i/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
const/4 v0, 0x1
if-ne p1, p0, :cond_0
return v0
:cond_0
instance-of v1, p1, Ljava/util/List;
const/4 v2, 0x0
if-nez v1, :cond_1
return v2
:cond_1
check-cast p1, Ljava/util/Collection;
const-string v1, "c"
invoke-static {p0, v1}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v1, "other"
invoke-static {p1, v1}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
invoke-interface {p0}, Ljava/util/Collection;->size()I
move-result v1
invoke-interface {p1}, Ljava/util/Collection;->size()I
move-result v3
if-eq v1, v3, :cond_2
:goto_0
const/4 v0, 0x0
goto :goto_1
:cond_2
invoke-interface {p1}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;
move-result-object p1
invoke-interface {p0}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;
move-result-object v1
:cond_3
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
move-result v3
if-eqz v3, :cond_4
invoke-interface {v1}, 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}, Lz/n/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v3
xor-int/2addr v3, v0
if-eqz v3, :cond_3
goto :goto_0
:cond_4
:goto_1
return v0
.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
const-string v0, "c"
invoke-static {p0, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
invoke-interface {p0}, 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}, Lz/n/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v2
if-eqz v2, :cond_0
goto :goto_1
:cond_0
add-int/lit8 v1, v1, 0x1
goto :goto_0
:cond_1
const/4 v1, -0x1
:goto_1
return v1
.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, Lz/i/c$a;
invoke-direct {v0, p0}, Lz/i/c$a;-><init>(Lz/i/c;)V
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}, Lz/n/c/j;->areEqual(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
goto :goto_0
:cond_1
const/4 p1, -0x1
:goto_0
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, Lz/i/c$b;
const/4 v1, 0x0
invoke-direct {v0, p0, v1}, Lz/i/c$b;-><init>(Lz/i/c;I)V
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, Lz/i/c$b;
invoke-direct {v0, p0, p1}, Lz/i/c$b;-><init>(Lz/i/c;I)V
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, Lz/i/c$c;
invoke-direct {v0, p0, p1, p2}, Lz/i/c$c;-><init>(Lz/i/c;II)V
return-object v0
.end method