2019-11-15 02:21:15 +00:00
|
|
|
.class public final Landroidx/preference/PreferenceGroupKt$iterator$1;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "PreferenceGroup.kt"
|
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Ljava/util/Iterator;
|
2020-03-27 22:23:51 +00:00
|
|
|
.implements Ly/u/b/z/c;
|
2019-11-15 02:21:15 +00:00
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
|
|
value = Landroidx/preference/PreferenceGroupKt;->iterator(Landroidx/preference/PreferenceGroup;)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<",
|
|
|
|
"Landroidx/preference/Preference;",
|
|
|
|
">;",
|
2020-03-27 22:23:51 +00:00
|
|
|
"Ly/u/b/z/c;"
|
2019-11-15 02:21:15 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final synthetic $this_iterator:Landroidx/preference/PreferenceGroup;
|
2019-11-15 02:21:15 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public index:I
|
2019-11-15 02:21:15 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public constructor <init>(Landroidx/preference/PreferenceGroup;)V
|
2019-11-15 02:21:15 +00:00
|
|
|
.locals 0
|
|
|
|
|
|
|
|
iput-object p1, p0, Landroidx/preference/PreferenceGroupKt$iterator$1;->$this_iterator:Landroidx/preference/PreferenceGroup;
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public hasNext()Z
|
2019-11-15 02:21:15 +00:00
|
|
|
.locals 2
|
|
|
|
|
|
|
|
iget v0, p0, Landroidx/preference/PreferenceGroupKt$iterator$1;->index:I
|
|
|
|
|
|
|
|
iget-object v1, p0, Landroidx/preference/PreferenceGroupKt$iterator$1;->$this_iterator:Landroidx/preference/PreferenceGroup;
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Landroidx/preference/PreferenceGroup;->getPreferenceCount()I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
if-ge v0, v1, :cond_0
|
|
|
|
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
goto :goto_0
|
2019-11-15 02:21:15 +00:00
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:goto_0
|
2019-11-15 02:21:15 +00:00
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public next()Landroidx/preference/Preference;
|
2019-11-15 02:21:15 +00:00
|
|
|
.locals 3
|
|
|
|
|
|
|
|
iget-object v0, p0, Landroidx/preference/PreferenceGroupKt$iterator$1;->$this_iterator:Landroidx/preference/PreferenceGroup;
|
|
|
|
|
|
|
|
iget v1, p0, Landroidx/preference/PreferenceGroupKt$iterator$1;->index:I
|
|
|
|
|
|
|
|
add-int/lit8 v2, v1, 0x1
|
|
|
|
|
|
|
|
iput v2, p0, Landroidx/preference/PreferenceGroupKt$iterator$1;->index:I
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Landroidx/preference/PreferenceGroup;->getPreference(I)Landroidx/preference/Preference;
|
|
|
|
|
|
|
|
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;-><init>()V
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public bridge synthetic next()Ljava/lang/Object;
|
2019-11-15 02:21:15 +00:00
|
|
|
.locals 1
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Landroidx/preference/PreferenceGroupKt$iterator$1;->next()Landroidx/preference/Preference;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public remove()V
|
2019-11-15 02:21:15 +00:00
|
|
|
.locals 2
|
|
|
|
|
|
|
|
iget-object v0, p0, Landroidx/preference/PreferenceGroupKt$iterator$1;->$this_iterator:Landroidx/preference/PreferenceGroup;
|
|
|
|
|
|
|
|
iget v1, p0, Landroidx/preference/PreferenceGroupKt$iterator$1;->index:I
|
|
|
|
|
|
|
|
add-int/lit8 v1, v1, -0x1
|
|
|
|
|
|
|
|
iput v1, p0, Landroidx/preference/PreferenceGroupKt$iterator$1;->index:I
|
|
|
|
|
|
|
|
iget v1, p0, Landroidx/preference/PreferenceGroupKt$iterator$1;->index:I
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Landroidx/preference/PreferenceGroup;->getPreference(I)Landroidx/preference/Preference;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Landroidx/preference/PreferenceGroup;->removePreference(Landroidx/preference/Preference;)Z
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|