mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-27 09:32:27 -06:00
190 lines
5 KiB
Smali
190 lines
5 KiB
Smali
|
.class public Landroidx/lifecycle/ViewModelStore;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "ViewModelStore.kt"
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation runtime Lkotlin/Metadata;
|
||
|
d1 = {
|
||
|
"\u0000*\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0008\u0002\n\u0002\u0010%\n\u0002\u0010\u000e\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0002\u0008\u0003\n\u0002\u0010\"\n\u0002\u0008\u0003\u0008\u0016\u0018\u00002\u00020\u0001B\u0005\u00a2\u0006\u0002\u0010\u0002J\u0006\u0010\u0007\u001a\u00020\u0008J\u0013\u0010\t\u001a\u0004\u0018\u00010\u00062\u0006\u0010\n\u001a\u00020\u0005H\u0087\u0002J\u000e\u0010\u000b\u001a\u0008\u0012\u0004\u0012\u00020\u00050\u000cH\u0007J\u0018\u0010\r\u001a\u00020\u00082\u0006\u0010\n\u001a\u00020\u00052\u0006\u0010\u000e\u001a\u00020\u0006H\u0007R\u001a\u0010\u0003\u001a\u000e\u0012\u0004\u0012\u00020\u0005\u0012\u0004\u0012\u00020\u00060\u0004X\u0082\u0004\u00a2\u0006\u0002\n\u0000\u00a8\u0006\u000f"
|
||
|
}
|
||
|
d2 = {
|
||
|
"Landroidx/lifecycle/ViewModelStore;",
|
||
|
"",
|
||
|
"()V",
|
||
|
"map",
|
||
|
"",
|
||
|
"",
|
||
|
"Landroidx/lifecycle/ViewModel;",
|
||
|
"clear",
|
||
|
"",
|
||
|
"get",
|
||
|
"key",
|
||
|
"keys",
|
||
|
"",
|
||
|
"put",
|
||
|
"viewModel",
|
||
|
"lifecycle-viewmodel_release"
|
||
|
}
|
||
|
k = 0x1
|
||
|
mv = {
|
||
|
0x1,
|
||
|
0x8,
|
||
|
0x0
|
||
|
}
|
||
|
xi = 0x30
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field private final map:Ljava/util/Map;
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"Ljava/util/Map<",
|
||
|
"Ljava/lang/String;",
|
||
|
"Landroidx/lifecycle/ViewModel;",
|
||
|
">;"
|
||
|
}
|
||
|
.end annotation
|
||
|
.end field
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method public constructor <init>()V
|
||
|
.locals 1
|
||
|
|
||
|
.line 35
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
.line 37
|
||
|
new-instance v0, Ljava/util/LinkedHashMap;
|
||
|
|
||
|
invoke-direct {v0}, Ljava/util/LinkedHashMap;-><init>()V
|
||
|
|
||
|
check-cast v0, Ljava/util/Map;
|
||
|
|
||
|
iput-object v0, p0, Landroidx/lifecycle/ViewModelStore;->map:Ljava/util/Map;
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public final clear()V
|
||
|
.locals 2
|
||
|
|
||
|
iget-object v0, p0, Landroidx/lifecycle/ViewModelStore;->map:Ljava/util/Map;
|
||
|
|
||
|
.line 71
|
||
|
invoke-interface {v0}, Ljava/util/Map;->values()Ljava/util/Collection;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-interface {v0}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
:goto_0
|
||
|
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_0
|
||
|
|
||
|
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
check-cast v1, Landroidx/lifecycle/ViewModel;
|
||
|
|
||
|
.line 72
|
||
|
invoke-virtual {v1}, Landroidx/lifecycle/ViewModel;->clear()V
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
iget-object p0, p0, Landroidx/lifecycle/ViewModelStore;->map:Ljava/util/Map;
|
||
|
|
||
|
.line 74
|
||
|
invoke-interface {p0}, Ljava/util/Map;->clear()V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public final get(Ljava/lang/String;)Landroidx/lifecycle/ViewModel;
|
||
|
.locals 1
|
||
|
|
||
|
const-string v0, "key"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
iget-object p0, p0, Landroidx/lifecycle/ViewModelStore;->map:Ljava/util/Map;
|
||
|
|
||
|
.line 56
|
||
|
invoke-interface {p0, p1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
check-cast p0, Landroidx/lifecycle/ViewModel;
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public final keys()Ljava/util/Set;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"()",
|
||
|
"Ljava/util/Set<",
|
||
|
"Ljava/lang/String;",
|
||
|
">;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.line 64
|
||
|
new-instance v0, Ljava/util/HashSet;
|
||
|
|
||
|
iget-object p0, p0, Landroidx/lifecycle/ViewModelStore;->map:Ljava/util/Map;
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Map;->keySet()Ljava/util/Set;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
check-cast p0, Ljava/util/Collection;
|
||
|
|
||
|
invoke-direct {v0, p0}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||
|
|
||
|
check-cast v0, Ljava/util/Set;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public final put(Ljava/lang/String;Landroidx/lifecycle/ViewModel;)V
|
||
|
.locals 1
|
||
|
|
||
|
const-string v0, "key"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "viewModel"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
iget-object p0, p0, Landroidx/lifecycle/ViewModelStore;->map:Ljava/util/Map;
|
||
|
|
||
|
.line 44
|
||
|
invoke-interface {p0, p1, p2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
check-cast p0, Landroidx/lifecycle/ViewModel;
|
||
|
|
||
|
if-eqz p0, :cond_0
|
||
|
|
||
|
.line 45
|
||
|
invoke-virtual {p0}, Landroidx/lifecycle/ViewModel;->onCleared()V
|
||
|
|
||
|
:cond_0
|
||
|
return-void
|
||
|
.end method
|