apkfuckery/com.discord/smali_classes2/w/q/c$c.smali
2020-02-20 20:33:18 +01:00

169 lines
3.2 KiB
Smali

.class public Lw/q/c$c;
.super Lw/q/c$b;
.source "AbstractList.kt"
# interfaces
.implements Ljava/util/ListIterator;
.implements Lw/u/b/z/a;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lw/q/c;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = "c"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lw/q/c<",
"TE;>.b;",
"Ljava/util/ListIterator<",
"TE;>;",
"Lw/u/b/z/a;"
}
.end annotation
# instance fields
.field public final synthetic f:Lw/q/c;
# direct methods
.method public constructor <init>(Lw/q/c;I)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(I)V"
}
.end annotation
iput-object p1, p0, Lw/q/c$c;->f:Lw/q/c;
invoke-direct {p0, p1}, Lw/q/c$b;-><init>(Lw/q/c;)V
sget-object v0, Lw/q/c;->d:Lw/q/c$a;
invoke-virtual {p1}, Lw/q/a;->getSize()I
move-result p1
invoke-virtual {v0, p2, p1}, Lw/q/c$a;->checkPositionIndex$kotlin_stdlib(II)V
iput p2, p0, Lw/q/c$b;->d:I
return-void
.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, Lw/q/c$b;->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, Lw/q/c$b;->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}, Lw/q/c$c;->hasPrevious()Z
move-result v0
if-eqz v0, :cond_0
iget-object v0, p0, Lw/q/c$c;->f:Lw/q/c;
iget v1, p0, Lw/q/c$b;->d:I
add-int/lit8 v1, v1, -0x1
iput v1, p0, Lw/q/c$b;->d:I
iget v1, p0, Lw/q/c$b;->d:I
invoke-virtual {v0, v1}, Lw/q/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, Lw/q/c$b;->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