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

426 lines
9.6 KiB
Smali
Raw Normal View History

2020-07-08 16:44:49 +00:00
.class public final Landroidx/collection/LongSparseArrayKt;
.super Ljava/lang/Object;
.source "LongSparseArray.kt"
# direct methods
.method public static final contains(Landroidx/collection/LongSparseArray;J)Z
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Landroidx/collection/LongSparseArray<",
"TT;>;J)Z"
}
.end annotation
if-eqz p0, :cond_0
invoke-virtual {p0, p1, p2}, Landroidx/collection/LongSparseArray;->containsKey(J)Z
move-result p0
return p0
:cond_0
const-string p0, "receiver$0"
2020-07-14 22:43:59 +00:00
invoke-static {p0}, Li0/n/c/h;->c(Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
const/4 p0, 0x0
throw p0
.end method
.method public static final forEach(Landroidx/collection/LongSparseArray;Lkotlin/jvm/functions/Function2;)V
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Landroidx/collection/LongSparseArray<",
"TT;>;",
"Lkotlin/jvm/functions/Function2<",
"-",
"Ljava/lang/Long;",
"-TT;",
"Lkotlin/Unit;",
">;)V"
}
.end annotation
const/4 v0, 0x0
if-eqz p0, :cond_2
if-eqz p1, :cond_1
const/4 v0, 0x0
invoke-virtual {p0}, Landroidx/collection/LongSparseArray;->size()I
move-result v1
:goto_0
if-ge v0, v1, :cond_0
invoke-virtual {p0, v0}, Landroidx/collection/LongSparseArray;->keyAt(I)J
move-result-wide v2
invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
move-result-object v2
invoke-virtual {p0, v0}, Landroidx/collection/LongSparseArray;->valueAt(I)Ljava/lang/Object;
move-result-object v3
invoke-interface {p1, v2, v3}, Lkotlin/jvm/functions/Function2;->invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
add-int/lit8 v0, v0, 0x1
goto :goto_0
:cond_0
return-void
:cond_1
const-string p0, "action"
2020-07-14 22:43:59 +00:00
invoke-static {p0}, Li0/n/c/h;->c(Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
throw v0
:cond_2
const-string p0, "receiver$0"
2020-07-14 22:43:59 +00:00
invoke-static {p0}, Li0/n/c/h;->c(Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
throw v0
.end method
.method public static final getOrDefault(Landroidx/collection/LongSparseArray;JLjava/lang/Object;)Ljava/lang/Object;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Landroidx/collection/LongSparseArray<",
"TT;>;JTT;)TT;"
}
.end annotation
if-eqz p0, :cond_0
invoke-virtual {p0, p1, p2, p3}, Landroidx/collection/LongSparseArray;->get(JLjava/lang/Object;)Ljava/lang/Object;
move-result-object p0
return-object p0
:cond_0
const-string p0, "receiver$0"
2020-07-14 22:43:59 +00:00
invoke-static {p0}, Li0/n/c/h;->c(Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
const/4 p0, 0x0
throw p0
.end method
.method public static final getOrElse(Landroidx/collection/LongSparseArray;JLkotlin/jvm/functions/Function0;)Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Landroidx/collection/LongSparseArray<",
"TT;>;J",
"Lkotlin/jvm/functions/Function0<",
"+TT;>;)TT;"
}
.end annotation
const/4 v0, 0x0
if-eqz p0, :cond_2
if-eqz p3, :cond_1
invoke-virtual {p0, p1, p2}, Landroidx/collection/LongSparseArray;->get(J)Ljava/lang/Object;
move-result-object p0
if-eqz p0, :cond_0
goto :goto_0
:cond_0
invoke-interface {p3}, Lkotlin/jvm/functions/Function0;->invoke()Ljava/lang/Object;
move-result-object p0
:goto_0
return-object p0
:cond_1
const-string p0, "defaultValue"
2020-07-14 22:43:59 +00:00
invoke-static {p0}, Li0/n/c/h;->c(Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
throw v0
:cond_2
const-string p0, "receiver$0"
2020-07-14 22:43:59 +00:00
invoke-static {p0}, Li0/n/c/h;->c(Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
throw v0
.end method
.method public static final getSize(Landroidx/collection/LongSparseArray;)I
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Landroidx/collection/LongSparseArray<",
"TT;>;)I"
}
.end annotation
if-eqz p0, :cond_0
invoke-virtual {p0}, Landroidx/collection/LongSparseArray;->size()I
move-result p0
return p0
:cond_0
const-string p0, "receiver$0"
2020-07-14 22:43:59 +00:00
invoke-static {p0}, Li0/n/c/h;->c(Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
const/4 p0, 0x0
throw p0
.end method
.method public static final isNotEmpty(Landroidx/collection/LongSparseArray;)Z
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Landroidx/collection/LongSparseArray<",
"TT;>;)Z"
}
.end annotation
if-eqz p0, :cond_0
invoke-virtual {p0}, Landroidx/collection/LongSparseArray;->isEmpty()Z
move-result p0
xor-int/lit8 p0, p0, 0x1
return p0
:cond_0
const-string p0, "receiver$0"
2020-07-14 22:43:59 +00:00
invoke-static {p0}, Li0/n/c/h;->c(Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
const/4 p0, 0x0
throw p0
.end method
2020-07-14 22:43:59 +00:00
.method public static final keyIterator(Landroidx/collection/LongSparseArray;)Li0/i/r;
2020-07-08 16:44:49 +00:00
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Landroidx/collection/LongSparseArray<",
"TT;>;)",
2020-07-14 22:43:59 +00:00
"Li0/i/r;"
2020-07-08 16:44:49 +00:00
}
.end annotation
if-eqz p0, :cond_0
new-instance v0, Landroidx/collection/LongSparseArrayKt$keyIterator$1;
invoke-direct {v0, p0}, Landroidx/collection/LongSparseArrayKt$keyIterator$1;-><init>(Landroidx/collection/LongSparseArray;)V
return-object v0
:cond_0
const-string p0, "receiver$0"
2020-07-14 22:43:59 +00:00
invoke-static {p0}, Li0/n/c/h;->c(Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
const/4 p0, 0x0
throw p0
.end method
.method public static final plus(Landroidx/collection/LongSparseArray;Landroidx/collection/LongSparseArray;)Landroidx/collection/LongSparseArray;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Landroidx/collection/LongSparseArray<",
"TT;>;",
"Landroidx/collection/LongSparseArray<",
"TT;>;)",
"Landroidx/collection/LongSparseArray<",
"TT;>;"
}
.end annotation
const/4 v0, 0x0
if-eqz p0, :cond_1
if-eqz p1, :cond_0
new-instance v0, Landroidx/collection/LongSparseArray;
invoke-virtual {p0}, Landroidx/collection/LongSparseArray;->size()I
move-result v1
invoke-virtual {p1}, Landroidx/collection/LongSparseArray;->size()I
move-result v2
add-int/2addr v2, v1
invoke-direct {v0, v2}, Landroidx/collection/LongSparseArray;-><init>(I)V
invoke-virtual {v0, p0}, Landroidx/collection/LongSparseArray;->putAll(Landroidx/collection/LongSparseArray;)V
invoke-virtual {v0, p1}, Landroidx/collection/LongSparseArray;->putAll(Landroidx/collection/LongSparseArray;)V
return-object v0
:cond_0
const-string p0, "other"
2020-07-14 22:43:59 +00:00
invoke-static {p0}, Li0/n/c/h;->c(Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
throw v0
:cond_1
const-string p0, "receiver$0"
2020-07-14 22:43:59 +00:00
invoke-static {p0}, Li0/n/c/h;->c(Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
throw v0
.end method
.method public static final remove(Landroidx/collection/LongSparseArray;JLjava/lang/Object;)Z
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Landroidx/collection/LongSparseArray<",
"TT;>;JTT;)Z"
}
.end annotation
if-eqz p0, :cond_0
invoke-virtual {p0, p1, p2, p3}, Landroidx/collection/LongSparseArray;->remove(JLjava/lang/Object;)Z
move-result p0
return p0
:cond_0
const-string p0, "receiver$0"
2020-07-14 22:43:59 +00:00
invoke-static {p0}, Li0/n/c/h;->c(Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
const/4 p0, 0x0
throw p0
.end method
.method public static final set(Landroidx/collection/LongSparseArray;JLjava/lang/Object;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Landroidx/collection/LongSparseArray<",
"TT;>;JTT;)V"
}
.end annotation
if-eqz p0, :cond_0
invoke-virtual {p0, p1, p2, p3}, Landroidx/collection/LongSparseArray;->put(JLjava/lang/Object;)V
return-void
:cond_0
const-string p0, "receiver$0"
2020-07-14 22:43:59 +00:00
invoke-static {p0}, Li0/n/c/h;->c(Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
const/4 p0, 0x0
throw p0
.end method
.method public static final valueIterator(Landroidx/collection/LongSparseArray;)Ljava/util/Iterator;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Landroidx/collection/LongSparseArray<",
"TT;>;)",
"Ljava/util/Iterator<",
"TT;>;"
}
.end annotation
if-eqz p0, :cond_0
new-instance v0, Landroidx/collection/LongSparseArrayKt$valueIterator$1;
invoke-direct {v0, p0}, Landroidx/collection/LongSparseArrayKt$valueIterator$1;-><init>(Landroidx/collection/LongSparseArray;)V
return-object v0
:cond_0
const-string p0, "receiver$0"
2020-07-14 22:43:59 +00:00
invoke-static {p0}, Li0/n/c/h;->c(Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
const/4 p0, 0x0
throw p0
.end method