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
2020-09-16 21:45:36 +00:00
.locals 0
2020-07-08 16:44:49 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Landroidx/collection/LongSparseArray<",
"TT;>;J)Z"
}
.end annotation
2020-09-16 21:45:36 +00:00
if-eqz p0, :cond_0
2020-07-08 16:44:49 +00:00
invoke-virtual {p0, p1, p2}, Landroidx/collection/LongSparseArray;->containsKey(J)Z
move-result p0
return p0
2020-09-16 21:45:36 +00:00
:cond_0
const-string p0, "receiver$0"
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
const/4 p0, 0x0
throw p0
2020-07-08 16:44:49 +00:00
.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
2020-09-16 21:45:36 +00:00
const/4 v0, 0x0
2020-07-08 16:44:49 +00:00
2020-09-16 21:45:36 +00:00
if-eqz p0, :cond_2
2020-07-08 16:44:49 +00:00
2020-09-16 21:45:36 +00:00
if-eqz p1, :cond_1
2020-07-08 16:44:49 +00:00
2020-09-16 21:45:36 +00:00
const/4 v0, 0x0
2020-07-08 16:44:49 +00:00
invoke-virtual {p0}, Landroidx/collection/LongSparseArray;->size()I
2020-09-16 21:45:36 +00:00
move-result v1
2020-07-08 16:44:49 +00:00
:goto_0
2020-09-16 21:45:36 +00:00
if-ge v0, v1, :cond_0
2020-07-08 16:44:49 +00:00
2020-09-16 21:45:36 +00:00
invoke-virtual {p0, v0}, Landroidx/collection/LongSparseArray;->keyAt(I)J
2020-07-08 16:44:49 +00:00
move-result-wide v2
invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
move-result-object v2
2020-09-16 21:45:36 +00:00
invoke-virtual {p0, v0}, Landroidx/collection/LongSparseArray;->valueAt(I)Ljava/lang/Object;
2020-07-08 16:44:49 +00:00
move-result-object v3
invoke-interface {p1, v2, v3}, Lkotlin/jvm/functions/Function2;->invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
2020-09-16 21:45:36 +00:00
add-int/lit8 v0, v0, 0x1
2020-07-08 16:44:49 +00:00
goto :goto_0
:cond_0
return-void
2020-09-16 21:45:36 +00:00
:cond_1
const-string p0, "action"
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
throw v0
:cond_2
const-string p0, "receiver$0"
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
throw v0
2020-07-08 16:44:49 +00:00
.end method
.method public static final getOrDefault(Landroidx/collection/LongSparseArray;JLjava/lang/Object;)Ljava/lang/Object;
2020-09-16 21:45:36 +00:00
.locals 0
2020-07-08 16:44:49 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Landroidx/collection/LongSparseArray<",
"TT;>;JTT;)TT;"
}
.end annotation
2020-09-16 21:45:36 +00:00
if-eqz p0, :cond_0
2020-07-08 16:44:49 +00:00
invoke-virtual {p0, p1, p2, p3}, Landroidx/collection/LongSparseArray;->get(JLjava/lang/Object;)Ljava/lang/Object;
move-result-object p0
return-object p0
2020-09-16 21:45:36 +00:00
:cond_0
const-string p0, "receiver$0"
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
const/4 p0, 0x0
throw p0
2020-07-08 16:44:49 +00:00
.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
2020-09-16 21:45:36 +00:00
const/4 v0, 0x0
2020-07-08 16:44:49 +00:00
2020-09-16 21:45:36 +00:00
if-eqz p0, :cond_2
2020-07-08 16:44:49 +00:00
2020-09-16 21:45:36 +00:00
if-eqz p3, :cond_1
2020-07-08 16:44:49 +00:00
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
2020-09-16 21:45:36 +00:00
:cond_1
const-string p0, "defaultValue"
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
throw v0
:cond_2
const-string p0, "receiver$0"
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
throw v0
2020-07-08 16:44:49 +00:00
.end method
.method public static final getSize(Landroidx/collection/LongSparseArray;)I
2020-09-16 21:45:36 +00:00
.locals 0
2020-07-08 16:44:49 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Landroidx/collection/LongSparseArray<",
"TT;>;)I"
}
.end annotation
2020-09-16 21:45:36 +00:00
if-eqz p0, :cond_0
2020-07-08 16:44:49 +00:00
invoke-virtual {p0}, Landroidx/collection/LongSparseArray;->size()I
move-result p0
return p0
2020-09-16 21:45:36 +00:00
:cond_0
const-string p0, "receiver$0"
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
const/4 p0, 0x0
throw p0
2020-07-08 16:44:49 +00:00
.end method
.method public static final isNotEmpty(Landroidx/collection/LongSparseArray;)Z
2020-09-16 21:45:36 +00:00
.locals 0
2020-07-08 16:44:49 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Landroidx/collection/LongSparseArray<",
"TT;>;)Z"
}
.end annotation
2020-09-16 21:45:36 +00:00
if-eqz p0, :cond_0
2020-07-08 16:44:49 +00:00
invoke-virtual {p0}, Landroidx/collection/LongSparseArray;->isEmpty()Z
move-result p0
xor-int/lit8 p0, p0, 0x1
return p0
2020-09-16 21:45:36 +00:00
:cond_0
const-string p0, "receiver$0"
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
const/4 p0, 0x0
throw p0
2020-07-08 16:44:49 +00:00
.end method
2020-09-16 21:45:36 +00:00
.method public static final keyIterator(Landroidx/collection/LongSparseArray;)Lk0/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-09-16 21:45:36 +00:00
"Lk0/i/r;"
2020-07-08 16:44:49 +00:00
}
.end annotation
2020-09-16 21:45:36 +00:00
if-eqz p0, :cond_0
2020-07-08 16:44:49 +00:00
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
2020-09-16 21:45:36 +00:00
:cond_0
const-string p0, "receiver$0"
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
const/4 p0, 0x0
throw p0
2020-07-08 16:44:49 +00:00
.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
2020-09-16 21:45:36 +00:00
const/4 v0, 0x0
2020-07-08 16:44:49 +00:00
2020-09-16 21:45:36 +00:00
if-eqz p0, :cond_1
2020-07-08 16:44:49 +00:00
2020-09-16 21:45:36 +00:00
if-eqz p1, :cond_0
2020-07-08 16:44:49 +00:00
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
2020-09-16 21:45:36 +00:00
:cond_0
const-string p0, "other"
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
throw v0
:cond_1
const-string p0, "receiver$0"
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
throw v0
2020-07-08 16:44:49 +00:00
.end method
.method public static final remove(Landroidx/collection/LongSparseArray;JLjava/lang/Object;)Z
2020-09-16 21:45:36 +00:00
.locals 0
2020-07-08 16:44:49 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Landroidx/collection/LongSparseArray<",
"TT;>;JTT;)Z"
}
.end annotation
2020-09-16 21:45:36 +00:00
if-eqz p0, :cond_0
2020-07-08 16:44:49 +00:00
invoke-virtual {p0, p1, p2, p3}, Landroidx/collection/LongSparseArray;->remove(JLjava/lang/Object;)Z
move-result p0
return p0
2020-09-16 21:45:36 +00:00
:cond_0
const-string p0, "receiver$0"
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
const/4 p0, 0x0
throw p0
2020-07-08 16:44:49 +00:00
.end method
.method public static final set(Landroidx/collection/LongSparseArray;JLjava/lang/Object;)V
2020-09-16 21:45:36 +00:00
.locals 0
2020-07-08 16:44:49 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Landroidx/collection/LongSparseArray<",
"TT;>;JTT;)V"
}
.end annotation
2020-09-16 21:45:36 +00:00
if-eqz p0, :cond_0
2020-07-08 16:44:49 +00:00
invoke-virtual {p0, p1, p2, p3}, Landroidx/collection/LongSparseArray;->put(JLjava/lang/Object;)V
return-void
2020-09-16 21:45:36 +00:00
:cond_0
const-string p0, "receiver$0"
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
const/4 p0, 0x0
throw p0
2020-07-08 16:44:49 +00:00
.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
2020-09-16 21:45:36 +00:00
if-eqz p0, :cond_0
2020-07-08 16:44:49 +00:00
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
2020-09-16 21:45:36 +00:00
:cond_0
const-string p0, "receiver$0"
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
const/4 p0, 0x0
throw p0
2020-07-08 16:44:49 +00:00
.end method