2020-11-13 19:18:44 +00:00
|
|
|
.class public final Ly/h/c$c;
|
|
|
|
.super Ly/h/c;
|
2020-11-12 02:11:44 +00:00
|
|
|
.source "AbstractList.kt"
|
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Ljava/util/RandomAccess;
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
2020-11-13 19:18:44 +00:00
|
|
|
value = Ly/h/c;
|
2020-11-12 02:11:44 +00:00
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x19
|
|
|
|
name = "c"
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<E:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">",
|
2020-11-13 19:18:44 +00:00
|
|
|
"Ly/h/c<",
|
2020-11-12 02:11:44 +00:00
|
|
|
"TE;>;",
|
|
|
|
"Ljava/util/RandomAccess;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field public d:I
|
|
|
|
|
2020-11-13 19:18:44 +00:00
|
|
|
.field public final e:Ly/h/c;
|
2020-11-12 02:11:44 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2020-11-13 19:18:44 +00:00
|
|
|
"Ly/h/c<",
|
2020-11-12 02:11:44 +00:00
|
|
|
"TE;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
|
|
|
.field public final f:I
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2020-11-13 19:18:44 +00:00
|
|
|
.method public constructor <init>(Ly/h/c;II)V
|
2020-11-12 02:11:44 +00:00
|
|
|
.locals 4
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
2020-11-13 19:18:44 +00:00
|
|
|
"Ly/h/c<",
|
2020-11-12 02:11:44 +00:00
|
|
|
"+TE;>;II)V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
const-string v0, "list"
|
|
|
|
|
2020-11-13 19:18:44 +00:00
|
|
|
invoke-static {p1, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-13 19:18:44 +00:00
|
|
|
invoke-direct {p0}, Ly/h/c;-><init>()V
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-13 19:18:44 +00:00
|
|
|
iput-object p1, p0, Ly/h/c$c;->e:Ly/h/c;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-13 19:18:44 +00:00
|
|
|
iput p2, p0, Ly/h/c$c;->f:I
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-13 19:18:44 +00:00
|
|
|
invoke-virtual {p1}, Ly/h/a;->getSize()I
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
const-string v0, "fromIndex: "
|
|
|
|
|
|
|
|
if-ltz p2, :cond_1
|
|
|
|
|
|
|
|
if-gt p3, p1, :cond_1
|
|
|
|
|
|
|
|
if-gt p2, p3, :cond_0
|
|
|
|
|
2020-11-13 19:18:44 +00:00
|
|
|
sub-int/2addr p3, p2
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-13 19:18:44 +00:00
|
|
|
iput p3, p0, Ly/h/c$c;->d:I
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
|
|
|
|
const-string v1, " > toIndex: "
|
|
|
|
|
2020-11-13 19:18:44 +00:00
|
|
|
invoke-static {v0, p2, v1, p3}, Lf/e/c/a/a;->l(Ljava/lang/String;ILjava/lang/String;I)Ljava/lang/String;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
new-instance v1, Ljava/lang/IndexOutOfBoundsException;
|
|
|
|
|
|
|
|
const-string v2, ", toIndex: "
|
|
|
|
|
|
|
|
const-string v3, ", size: "
|
|
|
|
|
2020-11-13 19:18:44 +00:00
|
|
|
invoke-static {v0, p2, v2, p3, v3}, Lf/e/c/a/a;->H(Ljava/lang/String;ILjava/lang/String;ILjava/lang/String;)Ljava/lang/StringBuilder;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
invoke-virtual {p2, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {p2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-direct {v1, p1}, Ljava/lang/IndexOutOfBoundsException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw v1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public get(I)Ljava/lang/Object;
|
|
|
|
.locals 4
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(I)TE;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2020-11-13 19:18:44 +00:00
|
|
|
iget v0, p0, Ly/h/c$c;->d:I
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
if-ltz p1, :cond_0
|
|
|
|
|
|
|
|
if-ge p1, v0, :cond_0
|
|
|
|
|
2020-11-13 19:18:44 +00:00
|
|
|
iget-object v0, p0, Ly/h/c$c;->e:Ly/h/c;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-13 19:18:44 +00:00
|
|
|
iget v1, p0, Ly/h/c$c;->f:I
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
add-int/2addr v1, p1
|
|
|
|
|
2020-11-13 19:18:44 +00:00
|
|
|
invoke-virtual {v0, v1}, Ly/h/c;->get(I)Ljava/lang/Object;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
new-instance v1, Ljava/lang/IndexOutOfBoundsException;
|
|
|
|
|
|
|
|
const-string v2, "index: "
|
|
|
|
|
|
|
|
const-string v3, ", size: "
|
|
|
|
|
2020-11-13 19:18:44 +00:00
|
|
|
invoke-static {v2, p1, v3, v0}, Lf/e/c/a/a;->l(Ljava/lang/String;ILjava/lang/String;I)Ljava/lang/String;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-direct {v1, p1}, Ljava/lang/IndexOutOfBoundsException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw v1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public getSize()I
|
|
|
|
.locals 1
|
|
|
|
|
2020-11-13 19:18:44 +00:00
|
|
|
iget v0, p0, Ly/h/c$c;->d:I
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|