apkfuckery/com.discord/smali_classes2/x/q/o.smali
2020-04-27 22:53:11 +02:00

517 lines
10 KiB
Smali

.class public final Lx/q/o;
.super Ljava/lang/Object;
.source "Collections.kt"
# interfaces
.implements Ljava/util/List;
.implements Ljava/io/Serializable;
.implements Ljava/util/RandomAccess;
.implements Lx/u/b/z/a;
# static fields
.field public static final d:Lx/q/o;
.field public static final serialVersionUID:J = -0x6690382f581f9fceL
# direct methods
.method public static constructor <clinit>()V
.locals 1
new-instance v0, Lx/q/o;
invoke-direct {v0}, Lx/q/o;-><init>()V
sput-object v0, Lx/q/o;->d:Lx/q/o;
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
sget-object v0, Lx/q/o;->d:Lx/q/o;
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
.method public final bridge contains(Ljava/lang/Object;)Z
.locals 1
instance-of v0, p1, Ljava/lang/Void;
if-eqz v0, :cond_0
check-cast p1, Ljava/lang/Void;
invoke-virtual {p0, p1}, Lx/q/o;->contains(Ljava/lang/Void;)Z
move-result p1
return p1
:cond_0
const/4 p1, 0x0
return p1
.end method
.method public contains(Ljava/lang/Void;)Z
.locals 0
if-eqz p1, :cond_0
const/4 p1, 0x0
return p1
:cond_0
const-string p1, "element"
invoke-static {p1}, Lx/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.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"
invoke-static {p1}, Lx/u/b/j;->a(Ljava/lang/String;)V
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
.method public bridge synthetic get(I)Ljava/lang/Object;
.locals 0
invoke-virtual {p0, p1}, Lx/q/o;->get(I)Ljava/lang/Void;
move-result-object p1
return-object p1
.end method
.method public get(I)Ljava/lang/Void;
.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 getSize()I
.locals 1
const/4 v0, 0x0
return v0
.end method
.method public hashCode()I
.locals 1
const/4 v0, 0x1
return v0
.end method
.method public final bridge indexOf(Ljava/lang/Object;)I
.locals 1
instance-of v0, p1, Ljava/lang/Void;
if-eqz v0, :cond_0
check-cast p1, Ljava/lang/Void;
invoke-virtual {p0, p1}, Lx/q/o;->indexOf(Ljava/lang/Void;)I
move-result p1
return p1
:cond_0
const/4 p1, -0x1
return p1
.end method
.method public indexOf(Ljava/lang/Void;)I
.locals 0
if-eqz p1, :cond_0
const/4 p1, -0x1
return p1
:cond_0
const-string p1, "element"
invoke-static {p1}, Lx/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
.method public isEmpty()Z
.locals 1
const/4 v0, 0x1
return v0
.end method
.method public iterator()Ljava/util/Iterator;
.locals 1
sget-object v0, Lx/q/n;->d:Lx/q/n;
return-object v0
.end method
.method public final bridge lastIndexOf(Ljava/lang/Object;)I
.locals 1
instance-of v0, p1, Ljava/lang/Void;
if-eqz v0, :cond_0
check-cast p1, Ljava/lang/Void;
invoke-virtual {p0, p1}, Lx/q/o;->lastIndexOf(Ljava/lang/Void;)I
move-result p1
return p1
:cond_0
const/4 p1, -0x1
return p1
.end method
.method public lastIndexOf(Ljava/lang/Void;)I
.locals 0
if-eqz p1, :cond_0
const/4 p1, -0x1
return p1
:cond_0
const-string p1, "element"
invoke-static {p1}, Lx/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
.method public listIterator()Ljava/util/ListIterator;
.locals 1
sget-object v0, Lx/q/n;->d:Lx/q/n;
return-object v0
.end method
.method public listIterator(I)Ljava/util/ListIterator;
.locals 2
if-nez p1, :cond_0
sget-object p1, Lx/q/n;->d:Lx/q/n;
return-object p1
:cond_0
new-instance v0, Ljava/lang/IndexOutOfBoundsException;
const-string v1, "Index: "
invoke-static {v1, p1}, Le/e/b/a/a;->a(Ljava/lang/String;I)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 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
.method public final bridge size()I
.locals 1
invoke-virtual {p0}, Lx/q/o;->getSize()I
move-result v0
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;
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
const-string v2, "fromIndex: "
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-string p1, ", toIndex: "
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1, p2}, Ljava/lang/StringBuilder;->append(I)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 toArray()[Ljava/lang/Object;
.locals 1
invoke-static {p0}, Lx/u/b/e;->toArray(Ljava/util/Collection;)[Ljava/lang/Object;
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
invoke-static {p0, p1}, Lx/u/b/e;->toArray(Ljava/util/Collection;[Ljava/lang/Object;)[Ljava/lang/Object;
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