apkfuckery/com.discord/smali_classes2/i0/i/c.smali
2020-07-22 00:04:40 +00:00

399 lines
7.7 KiB
Smali

.class public abstract Li0/i/c;
.super Li0/i/a;
.source "AbstractList.kt"
# interfaces
.implements Ljava/util/List;
.implements Li0/n/c/v/a;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Li0/i/c$c;,
Li0/i/c$a;,
Li0/i/c$b;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<E:",
"Ljava/lang/Object;",
">",
"Li0/i/a<",
"TE;>;",
"Ljava/util/List<",
"TE;>;",
"Li0/n/c/v/a;"
}
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Li0/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;
if-eqz p1, :cond_5
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}, Li0/n/c/h;->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
:cond_5
const-string p1, "other"
invoke-static {p1}, Li0/n/c/h;->c(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.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/4 v0, 0x1
invoke-interface {p0}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;
move-result-object v1
:goto_0
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_1
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v2
mul-int/lit8 v0, v0, 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 v0, v2
goto :goto_0
:cond_1
return v0
.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}, Li0/n/c/h;->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, Li0/i/c$a;
invoke-direct {v0, p0}, Li0/i/c$a;-><init>(Li0/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}, Li0/n/c/h;->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, Li0/i/c$b;
const/4 v1, 0x0
invoke-direct {v0, p0, v1}, Li0/i/c$b;-><init>(Li0/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, Li0/i/c$b;
invoke-direct {v0, p0, p1}, Li0/i/c$b;-><init>(Li0/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, Li0/i/c$c;
invoke-direct {v0, p0, p1, p2}, Li0/i/c$c;-><init>(Li0/i/c;II)V
return-object v0
.end method