apkfuckery/com.discord/smali_classes2/z/i/c$b.smali

183 lines
3.4 KiB
Smali
Raw Normal View History

2020-11-12 02:11:44 +00:00
.class public Lz/i/c$b;
.super Lz/i/c$a;
.source "AbstractList.kt"
# interfaces
.implements Ljava/util/ListIterator;
.implements Lz/n/c/x/a;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lz/i/c;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = "b"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lz/i/c<",
"TE;>.a;",
"Ljava/util/ListIterator<",
"TE;>;",
"Lz/n/c/x/a;"
}
.end annotation
# instance fields
.field public final synthetic f:Lz/i/c;
# direct methods
.method public constructor <init>(Lz/i/c;I)V
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(I)V"
}
.end annotation
iput-object p1, p0, Lz/i/c$b;->f:Lz/i/c;
invoke-direct {p0, p1}, Lz/i/c$a;-><init>(Lz/i/c;)V
invoke-virtual {p1}, Lz/i/a;->getSize()I
move-result p1
if-ltz p2, :cond_0
if-gt p2, p1, :cond_0
iput p2, p0, Lz/i/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/c/a/a;->k(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, Lz/i/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, Lz/i/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}, Lz/i/c$b;->hasPrevious()Z
move-result v0
if-eqz v0, :cond_0
iget-object v0, p0, Lz/i/c$b;->f:Lz/i/c;
iget v1, p0, Lz/i/c$a;->d:I
add-int/lit8 v1, v1, -0x1
iput v1, p0, Lz/i/c$a;->d:I
invoke-virtual {v0, v1}, Lz/i/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, Lz/i/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