.class Lkotlin/collections/AbstractList$IteratorImpl; .super Ljava/lang/Object; .source "AbstractList.kt" # interfaces .implements Ljava/util/Iterator; .implements Lkotlin/jvm/internal/markers/KMappedMarker; # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lkotlin/collections/AbstractList; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x2 name = "IteratorImpl" .end annotation .annotation system Ldalvik/annotation/Signature; value = { "Ljava/lang/Object;", "Ljava/util/Iterator<", "TE;>;", "Lkotlin/jvm/internal/markers/KMappedMarker;" } .end annotation .annotation runtime Lkotlin/Metadata; d1 = { "\u0000\u001c\n\u0002\u0018\u0002\n\u0002\u0010(\n\u0002\u0008\u0002\n\u0002\u0010\u0008\n\u0002\u0008\u0005\n\u0002\u0010\u000b\n\u0002\u0008\u0003\u0008\u0092\u0004\u0018\u00002\u0008\u0012\u0004\u0012\u00028\u00000\u0001B\u0005\u00a2\u0006\u0002\u0010\u0002J\t\u0010\t\u001a\u00020\nH\u0096\u0002J\u000e\u0010\u000b\u001a\u00028\u0000H\u0096\u0002\u00a2\u0006\u0002\u0010\u000cR\u001a\u0010\u0003\u001a\u00020\u0004X\u0084\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\u0008\u0005\u0010\u0006\"\u0004\u0008\u0007\u0010\u0008\u00a8\u0006\r" } d2 = { "Lkotlin/collections/AbstractList$IteratorImpl;", "", "(Lkotlin/collections/AbstractList;)V", "index", "", "getIndex", "()I", "setIndex", "(I)V", "hasNext", "", "next", "()Ljava/lang/Object;", "kotlin-stdlib" } k = 0x1 mv = { 0x1, 0x5, 0x1 } .end annotation # instance fields .field private index:I .field final synthetic this$0:Lkotlin/collections/AbstractList; # direct methods .method public constructor (Lkotlin/collections/AbstractList;)V .registers 2 .annotation system Ldalvik/annotation/Signature; value = { "()V" } .end annotation .line 71 iput-object p1, p0, Lkotlin/collections/AbstractList$IteratorImpl;->this$0:Lkotlin/collections/AbstractList; invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method # virtual methods .method protected final getIndex()I .registers 2 .line 73 iget v0, p0, Lkotlin/collections/AbstractList$IteratorImpl;->index:I return v0 .end method .method public hasNext()Z .registers 3 .line 75 iget v0, p0, Lkotlin/collections/AbstractList$IteratorImpl;->index:I iget-object v1, p0, Lkotlin/collections/AbstractList$IteratorImpl;->this$0:Lkotlin/collections/AbstractList; invoke-virtual {v1}, Lkotlin/collections/AbstractList;->size()I move-result v1 if-ge v0, v1, :cond_c const/4 v0, 0x1 goto :goto_d :cond_c const/4 v0, 0x0 :goto_d return v0 .end method .method public next()Ljava/lang/Object; .registers 4 .annotation system Ldalvik/annotation/Signature; value = { "()TE;" } .end annotation .line 78 invoke-virtual {p0}, Lkotlin/collections/AbstractList$IteratorImpl;->hasNext()Z move-result v0 if-eqz v0, :cond_13 .line 79 iget-object v0, p0, Lkotlin/collections/AbstractList$IteratorImpl;->this$0:Lkotlin/collections/AbstractList; iget v1, p0, Lkotlin/collections/AbstractList$IteratorImpl;->index:I add-int/lit8 v2, v1, 0x1 iput v2, p0, Lkotlin/collections/AbstractList$IteratorImpl;->index:I invoke-virtual {v0, v1}, Lkotlin/collections/AbstractList;->get(I)Ljava/lang/Object; move-result-object v0 return-object v0 .line 78 :cond_13 new-instance v0, Ljava/util/NoSuchElementException; invoke-direct {v0}, Ljava/util/NoSuchElementException;->()V check-cast v0, Ljava/lang/Throwable; throw v0 .end method .method public remove()V .registers 3 new-instance v0, Ljava/lang/UnsupportedOperationException; const-string v1, "Operation is not supported for read-only collection" invoke-direct {v0, v1}, Ljava/lang/UnsupportedOperationException;->(Ljava/lang/String;)V throw v0 .end method .method protected final setIndex(I)V .registers 2 .line 73 iput p1, p0, Lkotlin/collections/AbstractList$IteratorImpl;->index:I return-void .end method