717 lines
15 KiB
Smali
717 lines
15 KiB
Smali
.class public final Landroidx/core/util/LongSparseArrayKt;
|
|
.super Ljava/lang/Object;
|
|
.source "LongSparseArray.kt"
|
|
|
|
|
|
# direct methods
|
|
.method public static final contains(Landroid/util/LongSparseArray;J)Z
|
|
.locals 0
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
value = 0x10
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Landroid/util/LongSparseArray<",
|
|
"TT;>;J)Z"
|
|
}
|
|
.end annotation
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
invoke-virtual {p0, p1, p2}, Landroid/util/LongSparseArray;->indexOfKey(J)I
|
|
|
|
move-result p0
|
|
|
|
if-ltz p0, :cond_0
|
|
|
|
const/4 p0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
:goto_0
|
|
return p0
|
|
|
|
:cond_1
|
|
const-string p0, "$this$contains"
|
|
|
|
invoke-static {p0}, Ly/v/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p0, 0x0
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static final containsKey(Landroid/util/LongSparseArray;J)Z
|
|
.locals 0
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
value = 0x10
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Landroid/util/LongSparseArray<",
|
|
"TT;>;J)Z"
|
|
}
|
|
.end annotation
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
invoke-virtual {p0, p1, p2}, Landroid/util/LongSparseArray;->indexOfKey(J)I
|
|
|
|
move-result p0
|
|
|
|
if-ltz p0, :cond_0
|
|
|
|
const/4 p0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
:goto_0
|
|
return p0
|
|
|
|
:cond_1
|
|
const-string p0, "$this$containsKey"
|
|
|
|
invoke-static {p0}, Ly/v/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p0, 0x0
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static final containsValue(Landroid/util/LongSparseArray;Ljava/lang/Object;)Z
|
|
.locals 0
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
value = 0x10
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Landroid/util/LongSparseArray<",
|
|
"TT;>;TT;)Z"
|
|
}
|
|
.end annotation
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
invoke-virtual {p0, p1}, Landroid/util/LongSparseArray;->indexOfValue(Ljava/lang/Object;)I
|
|
|
|
move-result p0
|
|
|
|
const/4 p1, -0x1
|
|
|
|
if-eq p0, p1, :cond_0
|
|
|
|
const/4 p0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
:goto_0
|
|
return p0
|
|
|
|
:cond_1
|
|
const-string p0, "$this$containsValue"
|
|
|
|
invoke-static {p0}, Ly/v/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p0, 0x0
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static final forEach(Landroid/util/LongSparseArray;Lkotlin/jvm/functions/Function2;)V
|
|
.locals 4
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
value = 0x10
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Landroid/util/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}, Landroid/util/LongSparseArray;->size()I
|
|
|
|
move-result v1
|
|
|
|
:goto_0
|
|
if-ge v0, v1, :cond_0
|
|
|
|
invoke-virtual {p0, v0}, Landroid/util/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}, Landroid/util/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"
|
|
|
|
invoke-static {p0}, Ly/v/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_2
|
|
const-string p0, "$this$forEach"
|
|
|
|
invoke-static {p0}, Ly/v/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public static final getOrDefault(Landroid/util/LongSparseArray;JLjava/lang/Object;)Ljava/lang/Object;
|
|
.locals 0
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
value = 0x10
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Landroid/util/LongSparseArray<",
|
|
"TT;>;JTT;)TT;"
|
|
}
|
|
.end annotation
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
invoke-virtual {p0, p1, p2}, Landroid/util/LongSparseArray;->get(J)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move-object p0, p3
|
|
|
|
:goto_0
|
|
return-object p0
|
|
|
|
:cond_1
|
|
const-string p0, "$this$getOrDefault"
|
|
|
|
invoke-static {p0}, Ly/v/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p0, 0x0
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static final getOrElse(Landroid/util/LongSparseArray;JLkotlin/jvm/functions/Function0;)Ljava/lang/Object;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
value = 0x10
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Landroid/util/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}, Landroid/util/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"
|
|
|
|
invoke-static {p0}, Ly/v/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_2
|
|
const-string p0, "$this$getOrElse"
|
|
|
|
invoke-static {p0}, Ly/v/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public static final getSize(Landroid/util/LongSparseArray;)I
|
|
.locals 0
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
value = 0x10
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Landroid/util/LongSparseArray<",
|
|
"TT;>;)I"
|
|
}
|
|
.end annotation
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
invoke-virtual {p0}, Landroid/util/LongSparseArray;->size()I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
|
|
:cond_0
|
|
const-string p0, "$this$size"
|
|
|
|
invoke-static {p0}, Ly/v/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p0, 0x0
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static final isEmpty(Landroid/util/LongSparseArray;)Z
|
|
.locals 0
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
value = 0x10
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Landroid/util/LongSparseArray<",
|
|
"TT;>;)Z"
|
|
}
|
|
.end annotation
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
invoke-virtual {p0}, Landroid/util/LongSparseArray;->size()I
|
|
|
|
move-result p0
|
|
|
|
if-nez p0, :cond_0
|
|
|
|
const/4 p0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
:goto_0
|
|
return p0
|
|
|
|
:cond_1
|
|
const-string p0, "$this$isEmpty"
|
|
|
|
invoke-static {p0}, Ly/v/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p0, 0x0
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static final isNotEmpty(Landroid/util/LongSparseArray;)Z
|
|
.locals 0
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
value = 0x10
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Landroid/util/LongSparseArray<",
|
|
"TT;>;)Z"
|
|
}
|
|
.end annotation
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
invoke-virtual {p0}, Landroid/util/LongSparseArray;->size()I
|
|
|
|
move-result p0
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
const/4 p0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
:goto_0
|
|
return p0
|
|
|
|
:cond_1
|
|
const-string p0, "$this$isNotEmpty"
|
|
|
|
invoke-static {p0}, Ly/v/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p0, 0x0
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static final keyIterator(Landroid/util/LongSparseArray;)Ly/q/t;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
value = 0x10
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Landroid/util/LongSparseArray<",
|
|
"TT;>;)",
|
|
"Ly/q/t;"
|
|
}
|
|
.end annotation
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
new-instance v0, Landroidx/core/util/LongSparseArrayKt$keyIterator$1;
|
|
|
|
invoke-direct {v0, p0}, Landroidx/core/util/LongSparseArrayKt$keyIterator$1;-><init>(Landroid/util/LongSparseArray;)V
|
|
|
|
return-object v0
|
|
|
|
:cond_0
|
|
const-string p0, "$this$keyIterator"
|
|
|
|
invoke-static {p0}, Ly/v/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p0, 0x0
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static final plus(Landroid/util/LongSparseArray;Landroid/util/LongSparseArray;)Landroid/util/LongSparseArray;
|
|
.locals 3
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
value = 0x10
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Landroid/util/LongSparseArray<",
|
|
"TT;>;",
|
|
"Landroid/util/LongSparseArray<",
|
|
"TT;>;)",
|
|
"Landroid/util/LongSparseArray<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
new-instance v0, Landroid/util/LongSparseArray;
|
|
|
|
invoke-virtual {p0}, Landroid/util/LongSparseArray;->size()I
|
|
|
|
move-result v1
|
|
|
|
invoke-virtual {p1}, Landroid/util/LongSparseArray;->size()I
|
|
|
|
move-result v2
|
|
|
|
add-int/2addr v2, v1
|
|
|
|
invoke-direct {v0, v2}, Landroid/util/LongSparseArray;-><init>(I)V
|
|
|
|
invoke-static {v0, p0}, Landroidx/core/util/LongSparseArrayKt;->putAll(Landroid/util/LongSparseArray;Landroid/util/LongSparseArray;)V
|
|
|
|
invoke-static {v0, p1}, Landroidx/core/util/LongSparseArrayKt;->putAll(Landroid/util/LongSparseArray;Landroid/util/LongSparseArray;)V
|
|
|
|
return-object v0
|
|
|
|
:cond_0
|
|
const-string p0, "other"
|
|
|
|
invoke-static {p0}, Ly/v/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_1
|
|
const-string p0, "$this$plus"
|
|
|
|
invoke-static {p0}, Ly/v/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public static final putAll(Landroid/util/LongSparseArray;Landroid/util/LongSparseArray;)V
|
|
.locals 5
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
value = 0x10
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Landroid/util/LongSparseArray<",
|
|
"TT;>;",
|
|
"Landroid/util/LongSparseArray<",
|
|
"TT;>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p0, :cond_2
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
invoke-virtual {p1}, Landroid/util/LongSparseArray;->size()I
|
|
|
|
move-result v1
|
|
|
|
:goto_0
|
|
if-ge v0, v1, :cond_0
|
|
|
|
invoke-virtual {p1, v0}, Landroid/util/LongSparseArray;->keyAt(I)J
|
|
|
|
move-result-wide v2
|
|
|
|
invoke-virtual {p1, v0}, Landroid/util/LongSparseArray;->valueAt(I)Ljava/lang/Object;
|
|
|
|
move-result-object v4
|
|
|
|
invoke-virtual {p0, v2, v3, v4}, Landroid/util/LongSparseArray;->put(JLjava/lang/Object;)V
|
|
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
return-void
|
|
|
|
:cond_1
|
|
const-string p0, "other"
|
|
|
|
invoke-static {p0}, Ly/v/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_2
|
|
const-string p0, "$this$putAll"
|
|
|
|
invoke-static {p0}, Ly/v/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public static final remove(Landroid/util/LongSparseArray;JLjava/lang/Object;)Z
|
|
.locals 0
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
value = 0x10
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Landroid/util/LongSparseArray<",
|
|
"TT;>;JTT;)Z"
|
|
}
|
|
.end annotation
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
invoke-virtual {p0, p1, p2}, Landroid/util/LongSparseArray;->indexOfKey(J)I
|
|
|
|
move-result p1
|
|
|
|
const/4 p2, -0x1
|
|
|
|
if-eq p1, p2, :cond_0
|
|
|
|
invoke-virtual {p0, p1}, Landroid/util/LongSparseArray;->valueAt(I)Ljava/lang/Object;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-static {p3, p2}, Ly/v/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result p2
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
invoke-virtual {p0, p1}, Landroid/util/LongSparseArray;->removeAt(I)V
|
|
|
|
const/4 p0, 0x1
|
|
|
|
return p0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
return p0
|
|
|
|
:cond_1
|
|
const-string p0, "$this$remove"
|
|
|
|
invoke-static {p0}, Ly/v/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p0, 0x0
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static final set(Landroid/util/LongSparseArray;JLjava/lang/Object;)V
|
|
.locals 0
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
value = 0x10
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Landroid/util/LongSparseArray<",
|
|
"TT;>;JTT;)V"
|
|
}
|
|
.end annotation
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
invoke-virtual {p0, p1, p2, p3}, Landroid/util/LongSparseArray;->put(JLjava/lang/Object;)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const-string p0, "$this$set"
|
|
|
|
invoke-static {p0}, Ly/v/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p0, 0x0
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static final valueIterator(Landroid/util/LongSparseArray;)Ljava/util/Iterator;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
value = 0x10
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Landroid/util/LongSparseArray<",
|
|
"TT;>;)",
|
|
"Ljava/util/Iterator<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
new-instance v0, Landroidx/core/util/LongSparseArrayKt$valueIterator$1;
|
|
|
|
invoke-direct {v0, p0}, Landroidx/core/util/LongSparseArrayKt$valueIterator$1;-><init>(Landroid/util/LongSparseArray;)V
|
|
|
|
return-object v0
|
|
|
|
:cond_0
|
|
const-string p0, "$this$valueIterator"
|
|
|
|
invoke-static {p0}, Ly/v/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p0, 0x0
|
|
|
|
throw p0
|
|
.end method
|