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

66 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
2020-09-16 23:45:23 +00:00
const-string/jumbo v0, "values"
2020-09-22 07:09:10 +00:00
invoke-static {p0, v0}, Lc0/n/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
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
.end method