2020-09-29 21:44:44 +00:00
|
|
|
.class public final Lb0/n/c/b;
|
2020-05-17 12:40:10 +00:00
|
|
|
.super Ljava/lang/Object;
|
2020-09-23 03:12:49 +00:00
|
|
|
.source "ArrayIterator.kt"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
# interfaces
|
2020-09-23 03:12:49 +00:00
|
|
|
.implements Ljava/util/Iterator;
|
2020-09-29 21:44:44 +00:00
|
|
|
.implements Lb0/n/c/x/a;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
2020-09-23 03:12:49 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
2020-05-17 12:40:10 +00:00
|
|
|
value = {
|
2020-09-23 03:12:49 +00:00
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
"Ljava/util/Iterator<",
|
|
|
|
"TT;>;",
|
2020-09-29 21:44:44 +00:00
|
|
|
"Lb0/n/c/x/a;"
|
2020-05-17 12:40:10 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2020-09-23 03:12:49 +00:00
|
|
|
.field public d:I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-23 03:12:49 +00:00
|
|
|
.field public final e:[Ljava/lang/Object;
|
2020-05-17 12:40:10 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2020-09-23 03:12:49 +00:00
|
|
|
"[TT;"
|
2020-05-17 12:40:10 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
2020-09-23 03:12:49 +00:00
|
|
|
.end field
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
|
2020-09-23 03:12:49 +00:00
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>([Ljava/lang/Object;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2020-09-23 03:12:49 +00:00
|
|
|
"([TT;)V"
|
2020-05-17 12:40:10 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2020-09-23 03:12:49 +00:00
|
|
|
const-string v0, "array"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-29 21:44:44 +00:00
|
|
|
invoke-static {p1, v0}, Lb0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-23 03:12:49 +00:00
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-29 21:44:44 +00:00
|
|
|
iput-object p1, p0, Lb0/n/c/b;->e:[Ljava/lang/Object;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-23 03:12:49 +00:00
|
|
|
return-void
|
2020-05-17 12:40:10 +00:00
|
|
|
.end method
|
|
|
|
|
|
|
|
|
2020-09-23 03:12:49 +00:00
|
|
|
# virtual methods
|
|
|
|
.method public hasNext()Z
|
|
|
|
.locals 2
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-29 21:44:44 +00:00
|
|
|
iget v0, p0, Lb0/n/c/b;->d:I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-29 21:44:44 +00:00
|
|
|
iget-object v1, p0, Lb0/n/c/b;->e:[Ljava/lang/Object;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-23 03:12:49 +00:00
|
|
|
array-length v1, v1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-23 03:12:49 +00:00
|
|
|
if-ge v0, v1, :cond_0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-23 03:12:49 +00:00
|
|
|
const/4 v0, 0x1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-23 03:12:49 +00:00
|
|
|
goto :goto_0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-23 03:12:49 +00:00
|
|
|
:cond_0
|
|
|
|
const/4 v0, 0x0
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-23 03:12:49 +00:00
|
|
|
:goto_0
|
|
|
|
return v0
|
2020-05-17 12:40:10 +00:00
|
|
|
.end method
|
|
|
|
|
2020-09-23 03:12:49 +00:00
|
|
|
.method public next()Ljava/lang/Object;
|
|
|
|
.locals 3
|
2020-05-17 12:40:10 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2020-09-23 03:12:49 +00:00
|
|
|
"()TT;"
|
2020-05-17 12:40:10 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2020-09-23 03:12:49 +00:00
|
|
|
:try_start_0
|
2020-09-29 21:44:44 +00:00
|
|
|
iget-object v0, p0, Lb0/n/c/b;->e:[Ljava/lang/Object;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-29 21:44:44 +00:00
|
|
|
iget v1, p0, Lb0/n/c/b;->d:I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-23 03:12:49 +00:00
|
|
|
add-int/lit8 v2, v1, 0x1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-29 21:44:44 +00:00
|
|
|
iput v2, p0, Lb0/n/c/b;->d:I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-23 03:12:49 +00:00
|
|
|
aget-object v0, v0, v1
|
|
|
|
:try_end_0
|
|
|
|
.catch Ljava/lang/ArrayIndexOutOfBoundsException; {:try_start_0 .. :try_end_0} :catch_0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
2020-09-23 03:12:49 +00:00
|
|
|
:catch_0
|
|
|
|
move-exception v0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-29 21:44:44 +00:00
|
|
|
iget v1, p0, Lb0/n/c/b;->d:I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-23 03:12:49 +00:00
|
|
|
add-int/lit8 v1, v1, -0x1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-29 21:44:44 +00:00
|
|
|
iput v1, p0, Lb0/n/c/b;->d:I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-23 03:12:49 +00:00
|
|
|
new-instance v1, Ljava/util/NoSuchElementException;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-23 03:12:49 +00:00
|
|
|
invoke-virtual {v0}, Ljava/lang/ArrayIndexOutOfBoundsException;->getMessage()Ljava/lang/String;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-09-23 03:12:49 +00:00
|
|
|
invoke-direct {v1, v0}, Ljava/util/NoSuchElementException;-><init>(Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-23 03:12:49 +00:00
|
|
|
throw v1
|
2020-05-17 12:40:10 +00:00
|
|
|
.end method
|
|
|
|
|
2020-09-23 03:12:49 +00:00
|
|
|
.method public remove()V
|
|
|
|
.locals 2
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-23 03:12:49 +00:00
|
|
|
new-instance v0, Ljava/lang/UnsupportedOperationException;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-23 03:12:49 +00:00
|
|
|
const-string v1, "Operation is not supported for read-only collection"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-23 03:12:49 +00:00
|
|
|
invoke-direct {v0, v1}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-23 03:12:49 +00:00
|
|
|
throw v0
|
2020-05-17 12:40:10 +00:00
|
|
|
.end method
|