.class public final Landroidx/core/view/ViewGroupKt$iterator$1; .super Ljava/lang/Object; .source "SourceFile" # interfaces .implements Ljava/util/Iterator; .implements Lkotlin/jvm/internal/markers/KMutableIterator; # annotations .annotation system Ldalvik/annotation/EnclosingMethod; value = Landroidx/core/view/ViewGroupKt;->iterator(Landroid/view/ViewGroup;)Ljava/util/Iterator; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x19 name = null .end annotation .annotation system Ldalvik/annotation/Signature; value = { "Ljava/lang/Object;", "Ljava/util/Iterator<", "Landroid/view/View;", ">;", "Lkotlin/jvm/internal/markers/KMutableIterator;" } .end annotation # instance fields .field final synthetic $this_iterator:Landroid/view/ViewGroup; .field private index:I # direct methods .method public constructor (Landroid/view/ViewGroup;)V .locals 0 iput-object p1, p0, Landroidx/core/view/ViewGroupKt$iterator$1;->$this_iterator:Landroid/view/ViewGroup; .line 91 invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method # virtual methods .method public hasNext()Z .locals 2 iget v0, p0, Landroidx/core/view/ViewGroupKt$iterator$1;->index:I iget-object v1, p0, Landroidx/core/view/ViewGroupKt$iterator$1;->$this_iterator:Landroid/view/ViewGroup; .line 94 invoke-virtual {v1}, Landroid/view/ViewGroup;->getChildCount()I move-result v1 if-ge v0, v1, :cond_0 const/4 v0, 0x1 goto :goto_0 :cond_0 const/4 v0, 0x0 :goto_0 return v0 .end method .method public next()Landroid/view/View; .locals 3 iget-object v0, p0, Landroidx/core/view/ViewGroupKt$iterator$1;->$this_iterator:Landroid/view/ViewGroup; iget v1, p0, Landroidx/core/view/ViewGroupKt$iterator$1;->index:I add-int/lit8 v2, v1, 0x1 iput v2, p0, Landroidx/core/view/ViewGroupKt$iterator$1;->index:I .line 96 invoke-virtual {v0, v1}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View; move-result-object v0 if-eqz v0, :cond_0 return-object v0 :cond_0 new-instance v0, Ljava/lang/IndexOutOfBoundsException; invoke-direct {v0}, Ljava/lang/IndexOutOfBoundsException;->()V throw v0 .end method .method public bridge synthetic next()Ljava/lang/Object; .locals 1 .line 91 invoke-virtual {p0}, Landroidx/core/view/ViewGroupKt$iterator$1;->next()Landroid/view/View; move-result-object v0 return-object v0 .end method .method public remove()V .locals 2 iget-object v0, p0, Landroidx/core/view/ViewGroupKt$iterator$1;->$this_iterator:Landroid/view/ViewGroup; iget v1, p0, Landroidx/core/view/ViewGroupKt$iterator$1;->index:I add-int/lit8 v1, v1, -0x1 iput v1, p0, Landroidx/core/view/ViewGroupKt$iterator$1;->index:I .line 98 invoke-virtual {v0, v1}, Landroid/view/ViewGroup;->removeViewAt(I)V return-void .end method