apkfuckery/com.discord/smali_classes2/j0/i/o.smali

450 lines
9.1 KiB
Smali
Raw Normal View History

2020-07-08 16:44:49 +00:00
.class public final Lj0/i/o;
2020-05-17 12:40:10 +00:00
.super Ljava/lang/Object;
.source "Collections.kt"
# interfaces
.implements Ljava/util/List;
.implements Ljava/io/Serializable;
.implements Ljava/util/RandomAccess;
2020-07-08 16:44:49 +00:00
.implements Lj0/n/c/v/a;
2020-05-17 12:40:10 +00:00
# static fields
2020-07-08 16:44:49 +00:00
.field public static final d:Lj0/i/o;
2020-05-17 12:40:10 +00:00
.field public static final serialVersionUID:J = -0x6690382f581f9fceL
# direct methods
.method public static constructor <clinit>()V
.locals 1
2020-07-08 16:44:49 +00:00
new-instance v0, Lj0/i/o;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-direct {v0}, Lj0/i/o;-><init>()V
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
sput-object v0, Lj0/i/o;->d:Lj0/i/o;
2020-05-17 12:40:10 +00:00
return-void
.end method
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method private final readResolve()Ljava/lang/Object;
.locals 1
2020-07-08 16:44:49 +00:00
sget-object v0, Lj0/i/o;->d:Lj0/i/o;
2020-05-17 12:40:10 +00:00
return-object v0
.end method
# virtual methods
.method public synthetic add(ILjava/lang/Object;)V
.locals 0
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 synthetic add(Ljava/lang/Object;)Z
.locals 1
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 addAll(ILjava/util/Collection;)Z
.locals 0
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(Ljava/util/Collection;)Z
.locals 1
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 clear()V
.locals 2
new-instance v0, Ljava/lang/UnsupportedOperationException;
const-string v1, "Operation is not supported for read-only collection"
invoke-direct {v0, v1}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw v0
.end method
2020-07-08 16:44:49 +00:00
.method public final contains(Ljava/lang/Object;)Z
.locals 2
2020-05-17 12:40:10 +00:00
instance-of v0, p1, Ljava/lang/Void;
2020-07-08 16:44:49 +00:00
const/4 v1, 0x0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
if-eqz v0, :cond_1
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
check-cast p1, Ljava/lang/Void;
2020-05-17 12:40:10 +00:00
if-eqz p1, :cond_0
2020-07-08 16:44:49 +00:00
return v1
2020-05-17 12:40:10 +00:00
:cond_0
const-string p1, "element"
2020-07-08 16:44:49 +00:00
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
2020-05-17 12:40:10 +00:00
const/4 p1, 0x0
throw p1
2020-07-08 16:44:49 +00:00
:cond_1
return v1
2020-05-17 12:40:10 +00:00
.end method
.method public containsAll(Ljava/util/Collection;)Z
.locals 0
if-eqz p1, :cond_0
invoke-interface {p1}, Ljava/util/Collection;->isEmpty()Z
move-result p1
return p1
:cond_0
const-string p1, "elements"
2020-07-08 16:44:49 +00:00
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
2020-05-17 12:40:10 +00:00
const/4 p1, 0x0
throw p1
.end method
.method public equals(Ljava/lang/Object;)Z
.locals 1
instance-of v0, p1, Ljava/util/List;
if-eqz v0, :cond_0
check-cast p1, Ljava/util/List;
invoke-interface {p1}, Ljava/util/List;->isEmpty()Z
move-result p1
if-eqz p1, :cond_0
const/4 p1, 0x1
goto :goto_0
:cond_0
const/4 p1, 0x0
:goto_0
return p1
.end method
2020-07-08 16:44:49 +00:00
.method public get(I)Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
.locals 3
new-instance v0, Ljava/lang/IndexOutOfBoundsException;
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
const-string v2, "Empty list doesn\'t contain element at index "
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const/16 p1, 0x2e
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {v0, p1}, Ljava/lang/IndexOutOfBoundsException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public hashCode()I
.locals 1
const/4 v0, 0x1
return v0
.end method
2020-07-08 16:44:49 +00:00
.method public final indexOf(Ljava/lang/Object;)I
.locals 2
2020-05-17 12:40:10 +00:00
instance-of v0, p1, Ljava/lang/Void;
2020-07-08 16:44:49 +00:00
const/4 v1, -0x1
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
if-eqz v0, :cond_1
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
check-cast p1, Ljava/lang/Void;
2020-05-17 12:40:10 +00:00
if-eqz p1, :cond_0
2020-07-08 16:44:49 +00:00
return v1
2020-05-17 12:40:10 +00:00
:cond_0
const-string p1, "element"
2020-07-08 16:44:49 +00:00
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
2020-05-17 12:40:10 +00:00
const/4 p1, 0x0
throw p1
2020-07-08 16:44:49 +00:00
:cond_1
return v1
2020-05-17 12:40:10 +00:00
.end method
.method public isEmpty()Z
.locals 1
const/4 v0, 0x1
return v0
.end method
.method public iterator()Ljava/util/Iterator;
.locals 1
2020-07-08 16:44:49 +00:00
sget-object v0, Lj0/i/n;->d:Lj0/i/n;
2020-05-17 12:40:10 +00:00
return-object v0
.end method
2020-07-08 16:44:49 +00:00
.method public final lastIndexOf(Ljava/lang/Object;)I
.locals 2
2020-05-17 12:40:10 +00:00
instance-of v0, p1, Ljava/lang/Void;
2020-07-08 16:44:49 +00:00
const/4 v1, -0x1
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
if-eqz v0, :cond_1
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
check-cast p1, Ljava/lang/Void;
2020-05-17 12:40:10 +00:00
if-eqz p1, :cond_0
2020-07-08 16:44:49 +00:00
return v1
2020-05-17 12:40:10 +00:00
:cond_0
const-string p1, "element"
2020-07-08 16:44:49 +00:00
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
2020-05-17 12:40:10 +00:00
const/4 p1, 0x0
throw p1
2020-07-08 16:44:49 +00:00
:cond_1
return v1
2020-05-17 12:40:10 +00:00
.end method
.method public listIterator()Ljava/util/ListIterator;
.locals 1
2020-07-08 16:44:49 +00:00
sget-object v0, Lj0/i/n;->d:Lj0/i/n;
2020-05-17 12:40:10 +00:00
return-object v0
.end method
.method public listIterator(I)Ljava/util/ListIterator;
.locals 2
if-nez p1, :cond_0
2020-07-08 16:44:49 +00:00
sget-object p1, Lj0/i/n;->d:Lj0/i/n;
2020-05-17 12:40:10 +00:00
return-object p1
:cond_0
new-instance v0, Ljava/lang/IndexOutOfBoundsException;
const-string v1, "Index: "
2020-07-08 16:44:49 +00:00
invoke-static {v1, p1}, Lf/e/b/a/a;->h(Ljava/lang/String;I)Ljava/lang/String;
2020-05-17 12:40:10 +00:00
move-result-object p1
invoke-direct {v0, p1}, Ljava/lang/IndexOutOfBoundsException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public synthetic remove(I)Ljava/lang/Object;
.locals 1
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 remove(Ljava/lang/Object;)Z
.locals 1
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 removeAll(Ljava/util/Collection;)Z
.locals 1
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 retainAll(Ljava/util/Collection;)Z
.locals 1
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 synthetic set(ILjava/lang/Object;)Ljava/lang/Object;
.locals 0
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
2020-07-08 16:44:49 +00:00
.method public final size()I
2020-05-17 12:40:10 +00:00
.locals 1
2020-07-08 16:44:49 +00:00
const/4 v0, 0x0
2020-05-17 12:40:10 +00:00
return v0
.end method
.method public subList(II)Ljava/util/List;
.locals 3
if-nez p1, :cond_0
if-nez p2, :cond_0
return-object p0
:cond_0
new-instance v0, Ljava/lang/IndexOutOfBoundsException;
2020-07-08 16:44:49 +00:00
const-string v1, "fromIndex: "
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const-string v2, ", toIndex: "
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-static {v1, p1, v2, p2}, Lf/e/b/a/a;->j(Ljava/lang/String;ILjava/lang/String;I)Ljava/lang/String;
2020-05-17 12:40:10 +00:00
move-result-object p1
invoke-direct {v0, p1}, Ljava/lang/IndexOutOfBoundsException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public toArray()[Ljava/lang/Object;
.locals 1
2020-07-08 16:44:49 +00:00
invoke-static {p0}, Lj0/n/c/e;->toArray(Ljava/util/Collection;)[Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
move-result-object v0
return-object v0
.end method
.method public toArray([Ljava/lang/Object;)[Ljava/lang/Object;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">([TT;)[TT;"
}
.end annotation
2020-07-08 16:44:49 +00:00
invoke-static {p0, p1}, Lj0/n/c/e;->toArray(Ljava/util/Collection;[Ljava/lang/Object;)[Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
move-result-object p1
return-object p1
.end method
.method public toString()Ljava/lang/String;
.locals 1
const-string v0, "[]"
return-object v0
.end method