apkfuckery/com.discord/smali/androidx/collection/ArraySetKt.smali
2020-08-18 03:20:31 +00:00

72 lines
1.5 KiB
Smali

.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
const-string p0, "values"
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
const/4 p0, 0x0
throw p0
.end method