182 lines
3.5 KiB
Smali
182 lines
3.5 KiB
Smali
.class public Lj0/j/c$b;
|
|
.super Lj0/j/c$a;
|
|
.source "AbstractList.kt"
|
|
|
|
# interfaces
|
|
.implements Ljava/util/ListIterator;
|
|
.implements Lj0/o/c/v/a;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lj0/j/c;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x1
|
|
name = "b"
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lj0/j/c<",
|
|
"TE;>.a;",
|
|
"Ljava/util/ListIterator<",
|
|
"TE;>;",
|
|
"Lj0/o/c/v/a;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic f:Lj0/j/c;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lj0/j/c;I)V
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(I)V"
|
|
}
|
|
.end annotation
|
|
|
|
iput-object p1, p0, Lj0/j/c$b;->f:Lj0/j/c;
|
|
|
|
invoke-direct {p0, p1}, Lj0/j/c$a;-><init>(Lj0/j/c;)V
|
|
|
|
invoke-virtual {p1}, Lj0/j/a;->getSize()I
|
|
|
|
move-result p1
|
|
|
|
if-ltz p2, :cond_0
|
|
|
|
if-gt p2, p1, :cond_0
|
|
|
|
iput p2, p0, Lj0/j/c$a;->d:I
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
new-instance v0, Ljava/lang/IndexOutOfBoundsException;
|
|
|
|
const-string v1, "index: "
|
|
|
|
const-string v2, ", size: "
|
|
|
|
invoke-static {v1, p2, v2, p1}, Lf/e/b/a/a;->j(Ljava/lang/String;ILjava/lang/String;I)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {v0, p1}, Ljava/lang/IndexOutOfBoundsException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public add(Ljava/lang/Object;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(TE;)V"
|
|
}
|
|
.end annotation
|
|
|
|
new-instance p1, Ljava/lang/UnsupportedOperationException;
|
|
|
|
const-string v0, "Operation is not supported for read-only collection"
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public hasPrevious()Z
|
|
.locals 1
|
|
|
|
iget v0, p0, Lj0/j/c$a;->d:I
|
|
|
|
if-lez v0, :cond_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
return v0
|
|
.end method
|
|
|
|
.method public nextIndex()I
|
|
.locals 1
|
|
|
|
iget v0, p0, Lj0/j/c$a;->d:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public previous()Ljava/lang/Object;
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()TE;"
|
|
}
|
|
.end annotation
|
|
|
|
invoke-virtual {p0}, Lj0/j/c$b;->hasPrevious()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lj0/j/c$b;->f:Lj0/j/c;
|
|
|
|
iget v1, p0, Lj0/j/c$a;->d:I
|
|
|
|
add-int/lit8 v1, v1, -0x1
|
|
|
|
iput v1, p0, Lj0/j/c$a;->d:I
|
|
|
|
invoke-virtual {v0, v1}, Lj0/j/c;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
|
|
:cond_0
|
|
new-instance v0, Ljava/util/NoSuchElementException;
|
|
|
|
invoke-direct {v0}, Ljava/util/NoSuchElementException;-><init>()V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public previousIndex()I
|
|
.locals 1
|
|
|
|
iget v0, p0, Lj0/j/c$a;->d:I
|
|
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public set(Ljava/lang/Object;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(TE;)V"
|
|
}
|
|
.end annotation
|
|
|
|
new-instance p1, Ljava/lang/UnsupportedOperationException;
|
|
|
|
const-string v0, "Operation is not supported for read-only collection"
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|