504 lines
11 KiB
Smali
504 lines
11 KiB
Smali
.class public final Lkotlin/a/y;
|
|
.super Ljava/lang/Object;
|
|
.source "Collections.kt"
|
|
|
|
# interfaces
|
|
.implements Ljava/io/Serializable;
|
|
.implements Ljava/util/List;
|
|
.implements Ljava/util/RandomAccess;
|
|
.implements Lkotlin/jvm/internal/a/a;
|
|
|
|
|
|
# static fields
|
|
.field public static final bgN:Lkotlin/a/y;
|
|
|
|
.field private static final serialVersionUID:J = -0x6690382f581f9fceL
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
new-instance v0, Lkotlin/a/y;
|
|
|
|
invoke-direct {v0}, Lkotlin/a/y;-><init>()V
|
|
|
|
sput-object v0, Lkotlin/a/y;->bgN:Lkotlin/a/y;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private 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, Lkotlin/a/y;->bgN:Lkotlin/a/y;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final 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 final 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 final 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 final 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 final 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-nez v0, :cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
|
|
:cond_0
|
|
check-cast p1, Ljava/lang/Void;
|
|
|
|
invoke-virtual {p0, p1}, Lkotlin/a/y;->contains(Ljava/lang/Void;)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public final contains(Ljava/lang/Void;)Z
|
|
.locals 1
|
|
|
|
const-string v0, "element"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public final containsAll(Ljava/util/Collection;)Z
|
|
.locals 1
|
|
|
|
const-string v0, "elements"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-interface {p1}, Ljava/util/Collection;->isEmpty()Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public final 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
|
|
|
|
return p1
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public final bridge synthetic get(I)Ljava/lang/Object;
|
|
.locals 0
|
|
|
|
invoke-virtual {p0, p1}, Lkotlin/a/y;->get(I)Ljava/lang/Void;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final get(I)Ljava/lang/Void;
|
|
.locals 3
|
|
|
|
new-instance v0, Ljava/lang/IndexOutOfBoundsException;
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
const-string v2, "Empty list doesn\'t contain element at index "
|
|
|
|
invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
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
|
|
|
|
check-cast v0, Ljava/lang/Throwable;
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public final getSize()I
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final 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-nez v0, :cond_0
|
|
|
|
const/4 p1, -0x1
|
|
|
|
return p1
|
|
|
|
:cond_0
|
|
check-cast p1, Ljava/lang/Void;
|
|
|
|
invoke-virtual {p0, p1}, Lkotlin/a/y;->indexOf(Ljava/lang/Void;)I
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public final indexOf(Ljava/lang/Void;)I
|
|
.locals 1
|
|
|
|
const-string v0, "element"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const/4 p1, -0x1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public final isEmpty()Z
|
|
.locals 1
|
|
|
|
const/4 v0, 0x1
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final iterator()Ljava/util/Iterator;
|
|
.locals 1
|
|
|
|
sget-object v0, Lkotlin/a/x;->bgM:Lkotlin/a/x;
|
|
|
|
check-cast v0, Ljava/util/Iterator;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final bridge lastIndexOf(Ljava/lang/Object;)I
|
|
.locals 1
|
|
|
|
instance-of v0, p1, Ljava/lang/Void;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/4 p1, -0x1
|
|
|
|
return p1
|
|
|
|
:cond_0
|
|
check-cast p1, Ljava/lang/Void;
|
|
|
|
invoke-virtual {p0, p1}, Lkotlin/a/y;->lastIndexOf(Ljava/lang/Void;)I
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public final lastIndexOf(Ljava/lang/Void;)I
|
|
.locals 1
|
|
|
|
const-string v0, "element"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const/4 p1, -0x1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public final listIterator()Ljava/util/ListIterator;
|
|
.locals 1
|
|
|
|
sget-object v0, Lkotlin/a/x;->bgM:Lkotlin/a/x;
|
|
|
|
check-cast v0, Ljava/util/ListIterator;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final listIterator(I)Ljava/util/ListIterator;
|
|
.locals 2
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
sget-object p1, Lkotlin/a/x;->bgM:Lkotlin/a/x;
|
|
|
|
check-cast p1, Ljava/util/ListIterator;
|
|
|
|
return-object p1
|
|
|
|
:cond_0
|
|
new-instance v0, Ljava/lang/IndexOutOfBoundsException;
|
|
|
|
invoke-static {p1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v1, "Index: "
|
|
|
|
invoke-virtual {v1, p1}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {v0, p1}, Ljava/lang/IndexOutOfBoundsException;-><init>(Ljava/lang/String;)V
|
|
|
|
check-cast v0, Ljava/lang/Throwable;
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public final 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 final 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 final 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 final 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 final 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 size()I
|
|
.locals 1
|
|
|
|
invoke-virtual {p0}, Lkotlin/a/y;->getSize()I
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final subList(II)Ljava/util/List;
|
|
.locals 3
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
move-object p1, p0
|
|
|
|
check-cast p1, Ljava/util/List;
|
|
|
|
return-object p1
|
|
|
|
:cond_0
|
|
new-instance v0, Ljava/lang/IndexOutOfBoundsException;
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
const-string v2, "fromIndex: "
|
|
|
|
invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
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
|
|
|
|
check-cast v0, Ljava/lang/Throwable;
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public final toArray()[Ljava/lang/Object;
|
|
.locals 1
|
|
|
|
invoke-static {p0}, Lkotlin/jvm/internal/f;->toArray(Ljava/util/Collection;)[Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final 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}, Lkotlin/jvm/internal/f;->toArray(Ljava/util/Collection;[Ljava/lang/Object;)[Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final toString()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
const-string v0, "[]"
|
|
|
|
return-object v0
|
|
.end method
|