apkfuckery/com.discord/smali/androidx/collection/ArraySetKt.smali

73 lines
1.5 KiB
Smali
Raw Normal View History

2020-07-08 16:44:49 +00:00
.class public final Landroidx/collection/ArraySetKt;
.super Ljava/lang/Object;
.source "ArraySet.kt"
# direct methods
.method public static final arraySetOf()Landroidx/collection/ArraySet;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">()",
"Landroidx/collection/ArraySet<",
"TT;>;"
}
.end annotation
new-instance v0, Landroidx/collection/ArraySet;
invoke-direct {v0}, Landroidx/collection/ArraySet;-><init>()V
return-object v0
.end method
.method public static final varargs arraySetOf([Ljava/lang/Object;)Landroidx/collection/ArraySet;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">([TT;)",
"Landroidx/collection/ArraySet<",
"TT;>;"
}
.end annotation
if-eqz p0, :cond_1
new-instance v0, Landroidx/collection/ArraySet;
array-length v1, p0
invoke-direct {v0, v1}, Landroidx/collection/ArraySet;-><init>(I)V
array-length v1, p0
const/4 v2, 0x0
:goto_0
if-ge v2, v1, :cond_0
aget-object v3, p0, v2
invoke-virtual {v0, v3}, Landroidx/collection/ArraySet;->add(Ljava/lang/Object;)Z
add-int/lit8 v2, v2, 0x1
goto :goto_0
:cond_0
return-object v0
:cond_1
2020-07-23 01:06:17 +00:00
const-string/jumbo p0, "values"
2020-07-08 16:44:49 +00:00
2020-07-23 01:06:17 +00:00
invoke-static {p0}, Lj0/o/c/h;->c(Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
const/4 p0, 0x0
throw p0
.end method