168 lines
3.4 KiB
Smali
168 lines
3.4 KiB
Smali
.class public final Lj0/i/c$c;
|
|
.super Lj0/i/c;
|
|
.source "AbstractList.kt"
|
|
|
|
# interfaces
|
|
.implements Ljava/util/RandomAccess;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lj0/i/c;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "c"
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<E:",
|
|
"Ljava/lang/Object;",
|
|
">",
|
|
"Lj0/i/c<",
|
|
"TE;>;",
|
|
"Ljava/util/RandomAccess;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public d:I
|
|
|
|
.field public final e:Lj0/i/c;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lj0/i/c<",
|
|
"TE;>;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public final f:I
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lj0/i/c;II)V
|
|
.locals 4
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lj0/i/c<",
|
|
"+TE;>;II)V"
|
|
}
|
|
.end annotation
|
|
|
|
invoke-direct {p0}, Lj0/i/c;-><init>()V
|
|
|
|
iput-object p1, p0, Lj0/i/c$c;->e:Lj0/i/c;
|
|
|
|
iput p2, p0, Lj0/i/c$c;->f:I
|
|
|
|
invoke-virtual {p1}, Lj0/i/a;->getSize()I
|
|
|
|
move-result p1
|
|
|
|
const-string v0, "fromIndex: "
|
|
|
|
if-ltz p2, :cond_1
|
|
|
|
if-gt p3, p1, :cond_1
|
|
|
|
if-gt p2, p3, :cond_0
|
|
|
|
iget p1, p0, Lj0/i/c$c;->f:I
|
|
|
|
sub-int/2addr p3, p1
|
|
|
|
iput p3, p0, Lj0/i/c$c;->d:I
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string v1, " > toIndex: "
|
|
|
|
invoke-static {v0, p2, v1, p3}, Lf/e/b/a/a;->j(Ljava/lang/String;ILjava/lang/String;I)Ljava/lang/String;
|
|
|
|
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: "
|
|
|
|
invoke-static {v0, p2, v2, p3, v3}, Lf/e/b/a/a;->F(Ljava/lang/String;ILjava/lang/String;ILjava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
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
|
|
|
|
iget v0, p0, Lj0/i/c$c;->d:I
|
|
|
|
if-ltz p1, :cond_0
|
|
|
|
if-ge p1, v0, :cond_0
|
|
|
|
iget-object v0, p0, Lj0/i/c$c;->e:Lj0/i/c;
|
|
|
|
iget v1, p0, Lj0/i/c$c;->f:I
|
|
|
|
add-int/2addr v1, p1
|
|
|
|
invoke-virtual {v0, v1}, Lj0/i/c;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
|
|
:cond_0
|
|
new-instance v1, Ljava/lang/IndexOutOfBoundsException;
|
|
|
|
const-string v2, "index: "
|
|
|
|
const-string v3, ", size: "
|
|
|
|
invoke-static {v2, p1, v3, v0}, Lf/e/b/a/a;->j(Ljava/lang/String;ILjava/lang/String;I)Ljava/lang/String;
|
|
|
|
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
|
|
|
|
iget v0, p0, Lj0/i/c$c;->d:I
|
|
|
|
return v0
|
|
.end method
|