Rabbit-R1/switch port/smali/smali_classes3/kotlin/collections/MapWithDefaultImpl.smali
2024-05-21 17:08:36 -04:00

519 lines
14 KiB
Smali

.class final Lkotlin/collections/MapWithDefaultImpl;
.super Ljava/lang/Object;
.source "MapWithDefault.kt"
# interfaces
.implements Lkotlin/collections/MapWithDefault;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lkotlin/collections/MapWithDefault<",
"TK;TV;>;"
}
.end annotation
.annotation system Ldalvik/annotation/SourceDebugExtension;
value = "SMAP\nMapWithDefault.kt\nKotlin\n*S Kotlin\n*F\n+ 1 MapWithDefault.kt\nkotlin/collections/MapWithDefaultImpl\n+ 2 Maps.kt\nkotlin/collections/MapsKt__MapsKt\n*L\n1#1,104:1\n341#2,6:105\n*S KotlinDebug\n*F\n+ 1 MapWithDefault.kt\nkotlin/collections/MapWithDefaultImpl\n*L\n80#1:105,6\n*E\n"
.end annotation
.annotation runtime Lkotlin/Metadata;
d1 = {
"\u0000R\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010$\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0004\n\u0002\u0010\"\n\u0002\u0010&\n\u0002\u0008\u0007\n\u0002\u0010\u0008\n\u0002\u0008\u0003\n\u0002\u0010\u001e\n\u0002\u0008\u0003\n\u0002\u0010\u000b\n\u0002\u0008\u0005\n\u0002\u0010\u0000\n\u0002\u0008\u0006\n\u0002\u0010\u000e\n\u0000\u0008\u0002\u0018\u0000*\u0004\u0008\u0000\u0010\u0001*\u0006\u0008\u0001\u0010\u0002 \u00012\u000e\u0012\u0004\u0012\u0002H\u0001\u0012\u0004\u0012\u0002H\u00020\u0003B<\u0012\u0012\u0010\u0004\u001a\u000e\u0012\u0004\u0012\u00028\u0000\u0012\u0004\u0012\u00028\u00010\u0005\u0012!\u0010\u0006\u001a\u001d\u0012\u0013\u0012\u00118\u0000\u00a2\u0006\u000c\u0008\u0008\u0012\u0008\u0008\t\u0012\u0004\u0008\u0008(\n\u0012\u0004\u0012\u00028\u00010\u0007\u00a2\u0006\u0002\u0010\u000bJ\u0015\u0010\u001d\u001a\u00020\u001e2\u0006\u0010\n\u001a\u00028\u0000H\u0016\u00a2\u0006\u0002\u0010\u001fJ\u0015\u0010 \u001a\u00020\u001e2\u0006\u0010!\u001a\u00028\u0001H\u0016\u00a2\u0006\u0002\u0010\u001fJ\u0013\u0010\"\u001a\u00020\u001e2\u0008\u0010#\u001a\u0004\u0018\u00010$H\u0096\u0002J\u0018\u0010%\u001a\u0004\u0018\u00018\u00012\u0006\u0010\n\u001a\u00028\u0000H\u0096\u0002\u00a2\u0006\u0002\u0010&J\u0015\u0010\'\u001a\u00028\u00012\u0006\u0010\n\u001a\u00028\u0000H\u0016\u00a2\u0006\u0002\u0010&J\u0008\u0010(\u001a\u00020\u0016H\u0016J\u0008\u0010)\u001a\u00020\u001eH\u0016J\u0008\u0010*\u001a\u00020+H\u0016R)\u0010\u0006\u001a\u001d\u0012\u0013\u0012\u00118\u0000\u00a2\u0006\u000c\u0008\u0008\u0012\u0008\u0008\t\u0012\u0004\u0008\u0008(\n\u0012\u0004\u0012\u00028\u00010\u0007X\u0082\u0004\u00a2\u0006\u0002\n\u0000R&\u0010\u000c\u001a\u0014\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u00028\u0000\u0012\u0004\u0012\u00028\u00010\u000e0\r8VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\u0008\u000f\u0010\u0010R\u001a\u0010\u0011\u001a\u0008\u0012\u0004\u0012\u00028\u00000\r8VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\u0008\u0012\u0010\u0010R \u0010\u0004\u001a\u000e\u0012\u0004\u0012\u00028\u0000\u0012\u0004\u0012\u00028\u00010\u0005X\u0096\u0004\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u0013\u0010\u0014R\u0014\u0010\u0015\u001a\u00020\u00168VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\u0008\u0017\u0010\u0018R\u001a\u0010\u0019\u001a\u0008\u0012\u0004\u0012\u00028\u00010\u001a8VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\u0008\u001b\u0010\u001c\u00a8\u0006,"
}
d2 = {
"Lkotlin/collections/MapWithDefaultImpl;",
"K",
"V",
"Lkotlin/collections/MapWithDefault;",
"map",
"",
"default",
"Lkotlin/Function1;",
"Lkotlin/ParameterName;",
"name",
"key",
"(Ljava/util/Map;Lkotlin/jvm/functions/Function1;)V",
"entries",
"",
"",
"getEntries",
"()Ljava/util/Set;",
"keys",
"getKeys",
"getMap",
"()Ljava/util/Map;",
"size",
"",
"getSize",
"()I",
"values",
"",
"getValues",
"()Ljava/util/Collection;",
"containsKey",
"",
"(Ljava/lang/Object;)Z",
"containsValue",
"value",
"equals",
"other",
"",
"get",
"(Ljava/lang/Object;)Ljava/lang/Object;",
"getOrImplicitDefault",
"hashCode",
"isEmpty",
"toString",
"",
"kotlin-stdlib"
}
k = 0x1
mv = {
0x1,
0x9,
0x0
}
xi = 0x30
.end annotation
# instance fields
.field private final default:Lkotlin/jvm/functions/Function1;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lkotlin/jvm/functions/Function1<",
"TK;TV;>;"
}
.end annotation
.end field
.field private final map:Ljava/util/Map;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Map<",
"TK;TV;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Ljava/util/Map;Lkotlin/jvm/functions/Function1;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Map<",
"TK;+TV;>;",
"Lkotlin/jvm/functions/Function1<",
"-TK;+TV;>;)V"
}
.end annotation
const-string v0, "map"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "default"
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 67
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lkotlin/collections/MapWithDefaultImpl;->map:Ljava/util/Map;
iput-object p2, p0, Lkotlin/collections/MapWithDefaultImpl;->default:Lkotlin/jvm/functions/Function1;
return-void
.end method
# virtual methods
.method public clear()V
.locals 1
new-instance p0, Ljava/lang/UnsupportedOperationException;
const-string v0, "Operation is not supported for read-only collection"
invoke-direct {p0, v0}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw p0
.end method
.method public containsKey(Ljava/lang/Object;)Z
.locals 0
.line 73
invoke-virtual {p0}, Lkotlin/collections/MapWithDefaultImpl;->getMap()Ljava/util/Map;
move-result-object p0
invoke-interface {p0, p1}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z
move-result p0
return p0
.end method
.method public containsValue(Ljava/lang/Object;)Z
.locals 0
.line 74
invoke-virtual {p0}, Lkotlin/collections/MapWithDefaultImpl;->getMap()Ljava/util/Map;
move-result-object p0
invoke-interface {p0, p1}, Ljava/util/Map;->containsValue(Ljava/lang/Object;)Z
move-result p0
return p0
.end method
.method public final bridge entrySet()Ljava/util/Set;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Set<",
"Ljava/util/Map$Entry<",
"TK;TV;>;>;"
}
.end annotation
.line 67
invoke-virtual {p0}, Lkotlin/collections/MapWithDefaultImpl;->getEntries()Ljava/util/Set;
move-result-object p0
return-object p0
.end method
.method public equals(Ljava/lang/Object;)Z
.locals 0
.line 68
invoke-virtual {p0}, Lkotlin/collections/MapWithDefaultImpl;->getMap()Ljava/util/Map;
move-result-object p0
invoke-virtual {p0, p1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
move-result p0
return p0
.end method
.method public get(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Object;",
")TV;"
}
.end annotation
.line 75
invoke-virtual {p0}, Lkotlin/collections/MapWithDefaultImpl;->getMap()Ljava/util/Map;
move-result-object p0
invoke-interface {p0, p1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p0
return-object p0
.end method
.method public getEntries()Ljava/util/Set;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Set<",
"Ljava/util/Map$Entry<",
"TK;TV;>;>;"
}
.end annotation
.line 78
invoke-virtual {p0}, Lkotlin/collections/MapWithDefaultImpl;->getMap()Ljava/util/Map;
move-result-object p0
invoke-interface {p0}, Ljava/util/Map;->entrySet()Ljava/util/Set;
move-result-object p0
return-object p0
.end method
.method public getKeys()Ljava/util/Set;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Set<",
"TK;>;"
}
.end annotation
.line 76
invoke-virtual {p0}, Lkotlin/collections/MapWithDefaultImpl;->getMap()Ljava/util/Map;
move-result-object p0
invoke-interface {p0}, Ljava/util/Map;->keySet()Ljava/util/Set;
move-result-object p0
return-object p0
.end method
.method public getMap()Ljava/util/Map;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Map<",
"TK;TV;>;"
}
.end annotation
iget-object p0, p0, Lkotlin/collections/MapWithDefaultImpl;->map:Ljava/util/Map;
return-object p0
.end method
.method public getOrImplicitDefault(Ljava/lang/Object;)Ljava/lang/Object;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(TK;)TV;"
}
.end annotation
.line 80
invoke-virtual {p0}, Lkotlin/collections/MapWithDefaultImpl;->getMap()Ljava/util/Map;
move-result-object v0
.line 105
invoke-interface {v0, p1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v1
if-nez v1, :cond_0
.line 106
invoke-interface {v0, p1}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z
move-result v0
if-nez v0, :cond_0
iget-object p0, p0, Lkotlin/collections/MapWithDefaultImpl;->default:Lkotlin/jvm/functions/Function1;
.line 80
invoke-interface {p0, p1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v1
:cond_0
return-object v1
.end method
.method public getSize()I
.locals 0
.line 71
invoke-virtual {p0}, Lkotlin/collections/MapWithDefaultImpl;->getMap()Ljava/util/Map;
move-result-object p0
invoke-interface {p0}, Ljava/util/Map;->size()I
move-result p0
return p0
.end method
.method public getValues()Ljava/util/Collection;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Collection<",
"TV;>;"
}
.end annotation
.line 77
invoke-virtual {p0}, Lkotlin/collections/MapWithDefaultImpl;->getMap()Ljava/util/Map;
move-result-object p0
invoke-interface {p0}, Ljava/util/Map;->values()Ljava/util/Collection;
move-result-object p0
return-object p0
.end method
.method public hashCode()I
.locals 0
.line 69
invoke-virtual {p0}, Lkotlin/collections/MapWithDefaultImpl;->getMap()Ljava/util/Map;
move-result-object p0
invoke-virtual {p0}, Ljava/lang/Object;->hashCode()I
move-result p0
return p0
.end method
.method public isEmpty()Z
.locals 0
.line 72
invoke-virtual {p0}, Lkotlin/collections/MapWithDefaultImpl;->getMap()Ljava/util/Map;
move-result-object p0
invoke-interface {p0}, Ljava/util/Map;->isEmpty()Z
move-result p0
return p0
.end method
.method public final bridge keySet()Ljava/util/Set;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Set<",
"TK;>;"
}
.end annotation
.line 67
invoke-virtual {p0}, Lkotlin/collections/MapWithDefaultImpl;->getKeys()Ljava/util/Set;
move-result-object p0
return-object p0
.end method
.method public put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(TK;TV;)TV;"
}
.end annotation
new-instance p0, Ljava/lang/UnsupportedOperationException;
const-string p1, "Operation is not supported for read-only collection"
invoke-direct {p0, p1}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw p0
.end method
.method public putAll(Ljava/util/Map;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Map<",
"+TK;+TV;>;)V"
}
.end annotation
new-instance p0, Ljava/lang/UnsupportedOperationException;
const-string p1, "Operation is not supported for read-only collection"
invoke-direct {p0, p1}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw p0
.end method
.method public remove(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Object;",
")TV;"
}
.end annotation
new-instance p0, Ljava/lang/UnsupportedOperationException;
const-string p1, "Operation is not supported for read-only collection"
invoke-direct {p0, p1}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw p0
.end method
.method public final bridge size()I
.locals 0
.line 67
invoke-virtual {p0}, Lkotlin/collections/MapWithDefaultImpl;->getSize()I
move-result p0
return p0
.end method
.method public toString()Ljava/lang/String;
.locals 0
.line 70
invoke-virtual {p0}, Lkotlin/collections/MapWithDefaultImpl;->getMap()Ljava/util/Map;
move-result-object p0
invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p0
return-object p0
.end method
.method public final bridge values()Ljava/util/Collection;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Collection<",
"TV;>;"
}
.end annotation
.line 67
invoke-virtual {p0}, Lkotlin/collections/MapWithDefaultImpl;->getValues()Ljava/util/Collection;
move-result-object p0
return-object p0
.end method