apkfuckery/com.discord/smali_classes2/z/i/f$a.smali
2020-11-12 02:11:44 +00:00

194 lines
3.2 KiB
Smali

.class public final Lz/i/f$a;
.super Lz/i/c;
.source "_ArraysJvm.kt"
# interfaces
.implements Ljava/util/RandomAccess;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lz/i/f;->asList([B)Ljava/util/List;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lz/i/c<",
"Ljava/lang/Byte;",
">;",
"Ljava/util/RandomAccess;"
}
.end annotation
# instance fields
.field public final synthetic d:[B
# direct methods
.method public constructor <init>([B)V
.locals 0
iput-object p1, p0, Lz/i/f$a;->d:[B
invoke-direct {p0}, Lz/i/c;-><init>()V
return-void
.end method
# virtual methods
.method public final contains(Ljava/lang/Object;)Z
.locals 3
instance-of v0, p1, Ljava/lang/Byte;
const/4 v1, 0x0
if-eqz v0, :cond_0
check-cast p1, Ljava/lang/Number;
invoke-virtual {p1}, Ljava/lang/Number;->byteValue()B
move-result p1
iget-object v0, p0, Lz/i/f$a;->d:[B
const-string v2, "$this$contains"
invoke-static {v0, v2}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
invoke-static {v0, p1}, Lf/h/a/f/f/n/f;->indexOf([BB)I
move-result p1
if-ltz p1, :cond_0
const/4 v1, 0x1
:cond_0
return v1
.end method
.method public get(I)Ljava/lang/Object;
.locals 1
iget-object v0, p0, Lz/i/f$a;->d:[B
aget-byte p1, v0, p1
invoke-static {p1}, Ljava/lang/Byte;->valueOf(B)Ljava/lang/Byte;
move-result-object p1
return-object p1
.end method
.method public getSize()I
.locals 1
iget-object v0, p0, Lz/i/f$a;->d:[B
array-length v0, v0
return v0
.end method
.method public final indexOf(Ljava/lang/Object;)I
.locals 1
instance-of v0, p1, Ljava/lang/Byte;
if-eqz v0, :cond_0
check-cast p1, Ljava/lang/Number;
invoke-virtual {p1}, Ljava/lang/Number;->byteValue()B
move-result p1
iget-object v0, p0, Lz/i/f$a;->d:[B
invoke-static {v0, p1}, Lf/h/a/f/f/n/f;->indexOf([BB)I
move-result p1
return p1
:cond_0
const/4 p1, -0x1
return p1
.end method
.method public isEmpty()Z
.locals 1
iget-object v0, p0, Lz/i/f$a;->d:[B
array-length v0, v0
if-nez v0, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public final lastIndexOf(Ljava/lang/Object;)I
.locals 4
instance-of v0, p1, Ljava/lang/Byte;
const/4 v1, -0x1
if-eqz v0, :cond_1
check-cast p1, Ljava/lang/Number;
invoke-virtual {p1}, Ljava/lang/Number;->byteValue()B
move-result p1
iget-object v0, p0, Lz/i/f$a;->d:[B
const-string v2, "$this$lastIndexOf"
invoke-static {v0, v2}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
array-length v2, v0
add-int/2addr v2, v1
:goto_0
if-ltz v2, :cond_1
aget-byte v3, v0, v2
if-ne p1, v3, :cond_0
move v1, v2
goto :goto_1
:cond_0
add-int/lit8 v2, v2, -0x1
goto :goto_0
:cond_1
:goto_1
return v1
.end method