.class final Lkotlin/a/d$d; .super Lkotlin/a/d; .source "AbstractList.kt" # interfaces .implements Ljava/util/RandomAccess; # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lkotlin/a/d; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x18 name = "d" .end annotation .annotation system Ldalvik/annotation/Signature; value = { "", "Lkotlin/a/d<", "TE;>;", "Ljava/util/RandomAccess;" } .end annotation # instance fields .field private beV:I .field private final beW:Lkotlin/a/d; .annotation system Ldalvik/annotation/Signature; value = { "Lkotlin/a/d<", "TE;>;" } .end annotation .end field .field private final beX:I # direct methods .method public constructor (Lkotlin/a/d;II)V .locals 3 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lkotlin/a/d<", "+TE;>;II)V" } .end annotation const-string v0, "list" invoke-static {p1, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V invoke-direct {p0}, Lkotlin/a/d;->()V iput-object p1, p0, Lkotlin/a/d$d;->beW:Lkotlin/a/d; iput p2, p0, Lkotlin/a/d$d;->beX:I iget p1, p0, Lkotlin/a/d$d;->beX:I iget-object p2, p0, Lkotlin/a/d$d;->beW:Lkotlin/a/d; invoke-virtual {p2}, Lkotlin/a/d;->size()I move-result p2 const-string v0, "fromIndex: " if-ltz p1, :cond_1 if-gt p3, p2, :cond_1 if-gt p1, p3, :cond_0 iget p1, p0, Lkotlin/a/d$d;->beX:I sub-int/2addr p3, p1 iput p3, p0, Lkotlin/a/d$d;->beV:I return-void :cond_0 new-instance p2, Ljava/lang/IllegalArgumentException; new-instance v1, Ljava/lang/StringBuilder; invoke-direct {v1, v0}, Ljava/lang/StringBuilder;->(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, p3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object p1 invoke-direct {p2, p1}, Ljava/lang/IllegalArgumentException;->(Ljava/lang/String;)V check-cast p2, Ljava/lang/Throwable; throw p2 :cond_1 new-instance v1, Ljava/lang/IndexOutOfBoundsException; new-instance v2, Ljava/lang/StringBuilder; invoke-direct {v2, v0}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; const-string p1, ", toIndex: " invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v2, p3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; const-string p1, ", size: " invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v2, p2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object p1 invoke-direct {v1, p1}, Ljava/lang/IndexOutOfBoundsException;->(Ljava/lang/String;)V check-cast v1, Ljava/lang/Throwable; throw v1 .end method # virtual methods .method public final get(I)Ljava/lang/Object; .locals 4 .annotation system Ldalvik/annotation/Signature; value = { "(I)TE;" } .end annotation iget v0, p0, Lkotlin/a/d$d;->beV:I if-ltz p1, :cond_0 if-ge p1, v0, :cond_0 iget-object v0, p0, Lkotlin/a/d$d;->beW:Lkotlin/a/d; iget v1, p0, Lkotlin/a/d$d;->beX:I add-int/2addr v1, p1 invoke-virtual {v0, v1}, Lkotlin/a/d;->get(I)Ljava/lang/Object; move-result-object p1 return-object p1 :cond_0 new-instance v1, Ljava/lang/IndexOutOfBoundsException; new-instance v2, Ljava/lang/StringBuilder; const-string v3, "index: " invoke-direct {v2, v3}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; const-string p1, ", size: " invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object p1 invoke-direct {v1, p1}, Ljava/lang/IndexOutOfBoundsException;->(Ljava/lang/String;)V check-cast v1, Ljava/lang/Throwable; throw v1 .end method .method public final getSize()I .locals 1 iget v0, p0, Lkotlin/a/d$d;->beV:I return v0 .end method