apkfuckery/com.discord/smali_classes2/k0/i/f$a.smali

195 lines
3.2 KiB
Smali
Raw Normal View History

2020-09-22 06:09:03 +00:00
.class public final Lk0/i/f$a;
.super Lk0/i/c;
2020-09-16 23:45:23 +00:00
.source "_ArraysJvm.kt"
# interfaces
.implements Ljava/util/RandomAccess;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
2020-09-22 06:09:03 +00:00
value = Lk0/i/f;->asList([B)Ljava/util/List;
2020-09-16 23:45:23 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
2020-09-22 06:09:03 +00:00
"Lk0/i/c<",
2020-09-16 23:45:23 +00:00
"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
2020-09-22 06:09:03 +00:00
iput-object p1, p0, Lk0/i/f$a;->d:[B
2020-09-16 23:45:23 +00:00
2020-09-22 06:09:03 +00:00
invoke-direct {p0}, Lk0/i/c;-><init>()V
2020-09-16 23:45:23 +00:00
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
2020-09-22 06:09:03 +00:00
iget-object v0, p0, Lk0/i/f$a;->d:[B
2020-09-16 23:45:23 +00:00
const-string v2, "$this$contains"
2020-09-22 06:09:03 +00:00
invoke-static {v0, v2}, Lk0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-09-16 23:45:23 +00:00
invoke-static {v0, p1}, Lf/h/a/f/e/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
2020-09-22 06:09:03 +00:00
iget-object v0, p0, Lk0/i/f$a;->d:[B
2020-09-16 23:45:23 +00:00
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
2020-09-22 06:09:03 +00:00
iget-object v0, p0, Lk0/i/f$a;->d:[B
2020-09-16 23:45:23 +00:00
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
2020-09-22 06:09:03 +00:00
iget-object v0, p0, Lk0/i/f$a;->d:[B
2020-09-16 23:45:23 +00:00
invoke-static {v0, p1}, Lf/h/a/f/e/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
2020-09-22 06:09:03 +00:00
iget-object v0, p0, Lk0/i/f$a;->d:[B
2020-09-16 23:45:23 +00:00
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
2020-09-22 06:09:03 +00:00
iget-object v0, p0, Lk0/i/f$a;->d:[B
2020-09-16 23:45:23 +00:00
const-string v2, "$this$lastIndexOf"
2020-09-22 06:09:03 +00:00
invoke-static {v0, v2}, Lk0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-09-16 23:45:23 +00:00
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