apkfuckery/com.discord/smali_classes2/c0/i/c.smali

401 lines
7.9 KiB
Smali
Raw Normal View History

2020-10-05 23:18:16 +00:00
.class public abstract Lc0/i/c;
.super Lc0/i/a;
2020-09-08 08:16:32 +00:00
.source "AbstractList.kt"
# interfaces
.implements Ljava/util/List;
2020-10-05 23:18:16 +00:00
.implements Lc0/n/c/x/a;
2020-09-08 08:16:32 +00:00
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
2020-10-05 23:18:16 +00:00
Lc0/i/c$c;,
Lc0/i/c$a;,
Lc0/i/c$b;
2020-09-08 08:16:32 +00:00
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<E:",
"Ljava/lang/Object;",
">",
2020-10-05 23:18:16 +00:00
"Lc0/i/a<",
2020-09-08 08:16:32 +00:00
"TE;>;",
"Ljava/util/List<",
"TE;>;",
2020-10-05 23:18:16 +00:00
"Lc0/n/c/x/a;"
2020-09-08 08:16:32 +00:00
}
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
2020-10-05 23:18:16 +00:00
invoke-direct {p0}, Lc0/i/a;-><init>()V
2020-09-08 08:16:32 +00:00
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;
2020-09-16 23:45:23 +00:00
const-string v1, "c"
2020-10-05 23:18:16 +00:00
invoke-static {p0, v1}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-09-16 23:45:23 +00:00
const-string v1, "other"
2020-10-05 23:18:16 +00:00
invoke-static {p1, v1}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-09-08 08:16:32 +00:00
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
2020-10-05 23:18:16 +00:00
invoke-static {v3, v4}, Lc0/n/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
2020-09-08 08:16:32 +00:00
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
2020-09-16 23:45:23 +00:00
const-string v0, "c"
2020-10-05 23:18:16 +00:00
invoke-static {p0, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-09-08 08:16:32 +00:00
invoke-interface {p0}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;
2020-09-16 23:45:23 +00:00
move-result-object v0
const/4 v1, 0x1
2020-09-08 08:16:32 +00:00
:goto_0
2020-09-16 23:45:23 +00:00
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
2020-09-08 08:16:32 +00:00
move-result v2
if-eqz v2, :cond_1
2020-09-16 23:45:23 +00:00
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
2020-09-08 08:16:32 +00:00
move-result-object v2
2020-09-16 23:45:23 +00:00
mul-int/lit8 v1, v1, 0x1f
2020-09-08 08:16:32 +00:00
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
2020-09-16 23:45:23 +00:00
add-int/2addr v1, v2
2020-09-08 08:16:32 +00:00
goto :goto_0
:cond_1
2020-09-16 23:45:23 +00:00
return v1
2020-09-08 08:16:32 +00:00
.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
2020-10-05 23:18:16 +00:00
invoke-static {v2, p1}, Lc0/n/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
2020-09-08 08:16:32 +00:00
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
2020-10-05 23:18:16 +00:00
new-instance v0, Lc0/i/c$a;
2020-09-08 08:16:32 +00:00
2020-10-05 23:18:16 +00:00
invoke-direct {v0, p0}, Lc0/i/c$a;-><init>(Lc0/i/c;)V
2020-09-08 08:16:32 +00:00
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
2020-10-05 23:18:16 +00:00
invoke-static {v1, p1}, Lc0/n/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
2020-09-08 08:16:32 +00:00
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
2020-10-05 23:18:16 +00:00
new-instance v0, Lc0/i/c$b;
2020-09-08 08:16:32 +00:00
const/4 v1, 0x0
2020-10-05 23:18:16 +00:00
invoke-direct {v0, p0, v1}, Lc0/i/c$b;-><init>(Lc0/i/c;I)V
2020-09-08 08:16:32 +00:00
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
2020-10-05 23:18:16 +00:00
new-instance v0, Lc0/i/c$b;
2020-09-08 08:16:32 +00:00
2020-10-05 23:18:16 +00:00
invoke-direct {v0, p0, p1}, Lc0/i/c$b;-><init>(Lc0/i/c;I)V
2020-09-08 08:16:32 +00:00
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
2020-10-05 23:18:16 +00:00
new-instance v0, Lc0/i/c$c;
2020-09-08 08:16:32 +00:00
2020-10-05 23:18:16 +00:00
invoke-direct {v0, p0, p1, p2}, Lc0/i/c$c;-><init>(Lc0/i/c;II)V
2020-09-08 08:16:32 +00:00
return-object v0
.end method