.class public abstract Lkotlin/collections/AbstractMap; .super Ljava/lang/Object; .source "AbstractMap.kt" # interfaces .implements Ljava/util/Map; .implements Lkotlin/jvm/internal/markers/KMappedMarker; # annotations .annotation system Ldalvik/annotation/MemberClasses; value = { Lkotlin/collections/AbstractMap$Companion; } .end annotation .annotation system Ldalvik/annotation/Signature; value = { "", "Ljava/lang/Object;", "Ljava/util/Map<", "TK;TV;>;", "Lkotlin/jvm/internal/markers/KMappedMarker;" } .end annotation .annotation system Ldalvik/annotation/SourceDebugExtension; value = "SMAP\nAbstractMap.kt\nKotlin\n*S Kotlin\n*F\n+ 1 AbstractMap.kt\nkotlin/collections/AbstractMap\n+ 2 _Collections.kt\nkotlin/collections/CollectionsKt___CollectionsKt\n*L\n1#1,153:1\n1747#2,3:154\n1726#2,3:157\n288#2,2:160\n*S KotlinDebug\n*F\n+ 1 AbstractMap.kt\nkotlin/collections/AbstractMap\n*L\n28#1:154,3\n60#1:157,3\n141#1:160,2\n*E\n" .end annotation .annotation runtime Lkotlin/Metadata; d1 = { "\u0000D\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0010$\n\u0002\u0008\u0002\n\u0002\u0010\"\n\u0000\n\u0002\u0010\u001e\n\u0002\u0008\u0004\n\u0002\u0010\u0008\n\u0002\u0008\u0006\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010&\n\u0002\u0008\u0008\n\u0002\u0010\u0000\n\u0002\u0008\u0007\n\u0002\u0010\u000e\n\u0002\u0008\u0003\u0008\'\u0018\u0000 )*\u0004\u0008\u0000\u0010\u0001*\u0006\u0008\u0001\u0010\u0002 \u00012\u000e\u0012\u0004\u0012\u0002H\u0001\u0012\u0004\u0012\u0002H\u00020\u0003:\u0001)B\u0007\u0008\u0004\u00a2\u0006\u0002\u0010\u0004J\u001f\u0010\u0013\u001a\u00020\u00142\u0010\u0010\u0015\u001a\u000c\u0012\u0002\u0008\u0003\u0012\u0002\u0008\u0003\u0018\u00010\u0016H\u0000\u00a2\u0006\u0002\u0008\u0017J\u0015\u0010\u0018\u001a\u00020\u00142\u0006\u0010\u0019\u001a\u00028\u0000H\u0016\u00a2\u0006\u0002\u0010\u001aJ\u0015\u0010\u001b\u001a\u00020\u00142\u0006\u0010\u001c\u001a\u00028\u0001H\u0016\u00a2\u0006\u0002\u0010\u001aJ\u0013\u0010\u001d\u001a\u00020\u00142\u0008\u0010\u001e\u001a\u0004\u0018\u00010\u001fH\u0096\u0002J\u0018\u0010 \u001a\u0004\u0018\u00018\u00012\u0006\u0010\u0019\u001a\u00028\u0000H\u0096\u0002\u00a2\u0006\u0002\u0010!J\u0008\u0010\"\u001a\u00020\rH\u0016J#\u0010#\u001a\u0010\u0012\u0004\u0012\u00028\u0000\u0012\u0004\u0012\u00028\u0001\u0018\u00010\u00162\u0006\u0010\u0019\u001a\u00028\u0000H\u0002\u00a2\u0006\u0002\u0010$J\u0008\u0010%\u001a\u00020\u0014H\u0016J\u0008\u0010&\u001a\u00020\'H\u0016J\u0012\u0010&\u001a\u00020\'2\u0008\u0010(\u001a\u0004\u0018\u00010\u001fH\u0002J\u001c\u0010&\u001a\u00020\'2\u0012\u0010\u0015\u001a\u000e\u0012\u0004\u0012\u00028\u0000\u0012\u0004\u0012\u00028\u00010\u0016H\u0008R\u0016\u0010\u0005\u001a\n\u0012\u0004\u0012\u00028\u0000\u0018\u00010\u0006X\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u0016\u0010\u0007\u001a\n\u0012\u0004\u0012\u00028\u0001\u0018\u00010\u0008X\u0088\u000e\u00a2\u0006\u0002\n\u0000R\u001a\u0010\t\u001a\u0008\u0012\u0004\u0012\u00028\u00000\u00068VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\u0008\n\u0010\u000bR\u0014\u0010\u000c\u001a\u00020\r8VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\u0008\u000e\u0010\u000fR\u001a\u0010\u0010\u001a\u0008\u0012\u0004\u0012\u00028\u00010\u00088VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\u0008\u0011\u0010\u0012\u00a8\u0006*" } d2 = { "Lkotlin/collections/AbstractMap;", "K", "V", "", "()V", "_keys", "", "_values", "", "keys", "getKeys", "()Ljava/util/Set;", "size", "", "getSize", "()I", "values", "getValues", "()Ljava/util/Collection;", "containsEntry", "", "entry", "", "containsEntry$kotlin_stdlib", "containsKey", "key", "(Ljava/lang/Object;)Z", "containsValue", "value", "equals", "other", "", "get", "(Ljava/lang/Object;)Ljava/lang/Object;", "hashCode", "implFindEntry", "(Ljava/lang/Object;)Ljava/util/Map$Entry;", "isEmpty", "toString", "", "o", "Companion", "kotlin-stdlib" } k = 0x1 mv = { 0x1, 0x9, 0x0 } xi = 0x30 .end annotation # static fields .field public static final Companion:Lkotlin/collections/AbstractMap$Companion; # instance fields .field private volatile _keys:Ljava/util/Set; .annotation system Ldalvik/annotation/Signature; value = { "Ljava/util/Set<", "+TK;>;" } .end annotation .end field .field private volatile _values:Ljava/util/Collection; .annotation system Ldalvik/annotation/Signature; value = { "Ljava/util/Collection<", "+TV;>;" } .end annotation .end field # direct methods .method static constructor ()V .locals 2 new-instance v0, Lkotlin/collections/AbstractMap$Companion; const/4 v1, 0x0 invoke-direct {v0, v1}, Lkotlin/collections/AbstractMap$Companion;->(Lkotlin/jvm/internal/DefaultConstructorMarker;)V sput-object v0, Lkotlin/collections/AbstractMap;->Companion:Lkotlin/collections/AbstractMap$Companion; return-void .end method .method protected constructor ()V .locals 0 .line 21 invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method .method public static final synthetic access$toString(Lkotlin/collections/AbstractMap;Ljava/util/Map$Entry;)Ljava/lang/String; .locals 0 .line 21 invoke-direct {p0, p1}, Lkotlin/collections/AbstractMap;->toString(Ljava/util/Map$Entry;)Ljava/lang/String; move-result-object p0 return-object p0 .end method .method private final implFindEntry(Ljava/lang/Object;)Ljava/util/Map$Entry; .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "(TK;)", "Ljava/util/Map$Entry<", "TK;TV;>;" } .end annotation .line 141 invoke-virtual {p0}, Lkotlin/collections/AbstractMap;->entrySet()Ljava/util/Set; move-result-object p0 check-cast p0, Ljava/lang/Iterable; .line 160 invoke-interface {p0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator; move-result-object p0 :cond_0 invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z move-result v0 if-eqz v0, :cond_1 invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object; move-result-object v0 move-object v1, v0 check-cast v1, Ljava/util/Map$Entry; .line 141 invoke-interface {v1}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object; move-result-object v1 invoke-static {v1, p1}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z move-result v1 if-eqz v1, :cond_0 goto :goto_0 :cond_1 const/4 v0, 0x0 .line 161 :goto_0 check-cast v0, Ljava/util/Map$Entry; return-object v0 .end method .method private final toString(Ljava/lang/Object;)Ljava/lang/String; .locals 0 if-ne p1, p0, :cond_0 const-string p0, "(this Map)" goto :goto_0 .line 110 :cond_0 invoke-static {p1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String; move-result-object p0 :goto_0 return-object p0 .end method .method private final toString(Ljava/util/Map$Entry;)Ljava/lang/String; .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/Map$Entry<", "+TK;+TV;>;)", "Ljava/lang/String;" } .end annotation .line 108 new-instance v0, Ljava/lang/StringBuilder; invoke-direct {v0}, Ljava/lang/StringBuilder;->()V invoke-interface {p1}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object; move-result-object v1 invoke-direct {p0, v1}, Lkotlin/collections/AbstractMap;->toString(Ljava/lang/Object;)Ljava/lang/String; move-result-object v1 invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v0 const/16 v1, 0x3d invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; move-result-object v0 invoke-interface {p1}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object; move-result-object p1 invoke-direct {p0, p1}, Lkotlin/collections/AbstractMap;->toString(Ljava/lang/Object;)Ljava/lang/String; move-result-object p0 invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object p0 invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object p0 return-object p0 .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;->(Ljava/lang/String;)V throw p0 .end method .method public final containsEntry$kotlin_stdlib(Ljava/util/Map$Entry;)Z .locals 3 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/Map$Entry<", "**>;)Z" } .end annotation const/4 v0, 0x0 if-nez p1, :cond_0 return v0 .line 33 :cond_0 invoke-interface {p1}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object; move-result-object v1 .line 34 invoke-interface {p1}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object; move-result-object p1 .line 35 check-cast p0, Ljava/util/Map; const-string v2, "null cannot be cast to non-null type kotlin.collections.Map" invoke-static {p0, v2}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)V invoke-interface {p0, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v2 .line 37 invoke-static {p1, v2}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z move-result p1 if-nez p1, :cond_1 return v0 :cond_1 if-nez v2, :cond_2 const-string p1, "null cannot be cast to non-null type kotlin.collections.Map" .line 42 invoke-static {p0, p1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)V invoke-interface {p0, v1}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z move-result p0 if-nez p0, :cond_2 return v0 :cond_2 const/4 p0, 0x1 return p0 .end method .method public containsKey(Ljava/lang/Object;)Z .locals 0 .line 25 invoke-direct {p0, p1}, Lkotlin/collections/AbstractMap;->implFindEntry(Ljava/lang/Object;)Ljava/util/Map$Entry; move-result-object p0 if-eqz p0, :cond_0 const/4 p0, 0x1 goto :goto_0 :cond_0 const/4 p0, 0x0 :goto_0 return p0 .end method .method public containsValue(Ljava/lang/Object;)Z .locals 2 .line 28 invoke-virtual {p0}, Lkotlin/collections/AbstractMap;->entrySet()Ljava/util/Set; move-result-object p0 check-cast p0, Ljava/lang/Iterable; .line 154 instance-of v0, p0, Ljava/util/Collection; const/4 v1, 0x0 if-eqz v0, :cond_0 move-object v0, p0 check-cast v0, Ljava/util/Collection; invoke-interface {v0}, Ljava/util/Collection;->isEmpty()Z move-result v0 if-eqz v0, :cond_0 goto :goto_0 .line 155 :cond_0 invoke-interface {p0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator; move-result-object p0 :cond_1 invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z move-result v0 if-eqz v0, :cond_2 invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object; move-result-object v0 check-cast v0, Ljava/util/Map$Entry; .line 28 invoke-interface {v0}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object; move-result-object v0 invoke-static {v0, p1}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z move-result v0 if-eqz v0, :cond_1 const/4 v1, 0x1 :cond_2 :goto_0 return v1 .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 21 invoke-virtual {p0}, Lkotlin/collections/AbstractMap;->getEntries()Ljava/util/Set; move-result-object p0 return-object p0 .end method .method public equals(Ljava/lang/Object;)Z .locals 4 const/4 v0, 0x1 if-ne p1, p0, :cond_0 return v0 .line 57 :cond_0 instance-of v1, p1, Ljava/util/Map; const/4 v2, 0x0 if-nez v1, :cond_1 return v2 .line 58 :cond_1 invoke-virtual {p0}, Lkotlin/collections/AbstractMap;->size()I move-result v1 check-cast p1, Ljava/util/Map; invoke-interface {p1}, Ljava/util/Map;->size()I move-result v3 if-eq v1, v3, :cond_2 return v2 .line 60 :cond_2 invoke-interface {p1}, Ljava/util/Map;->entrySet()Ljava/util/Set; move-result-object p1 check-cast p1, Ljava/lang/Iterable; .line 157 instance-of v1, p1, Ljava/util/Collection; if-eqz v1, :cond_3 move-object v1, p1 check-cast v1, Ljava/util/Collection; invoke-interface {v1}, Ljava/util/Collection;->isEmpty()Z move-result v1 if-eqz v1, :cond_3 goto :goto_0 .line 158 :cond_3 invoke-interface {p1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator; move-result-object p1 :cond_4 invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z move-result v1 if-eqz v1, :cond_5 invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object; move-result-object v1 check-cast v1, Ljava/util/Map$Entry; .line 60 invoke-virtual {p0, v1}, Lkotlin/collections/AbstractMap;->containsEntry$kotlin_stdlib(Ljava/util/Map$Entry;)Z move-result v1 if-nez v1, :cond_4 move v0, v2 :cond_5 :goto_0 return v0 .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 63 invoke-direct {p0, p1}, Lkotlin/collections/AbstractMap;->implFindEntry(Ljava/lang/Object;)Ljava/util/Map$Entry; move-result-object p0 if-eqz p0, :cond_0 invoke-interface {p0}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object; move-result-object p0 goto :goto_0 :cond_0 const/4 p0, 0x0 :goto_0 return-object p0 .end method .method public abstract getEntries()Ljava/util/Set; .end method .method public getKeys()Ljava/util/Set; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "()", "Ljava/util/Set<", "TK;>;" } .end annotation iget-object v0, p0, Lkotlin/collections/AbstractMap;->_keys:Ljava/util/Set; if-nez v0, :cond_0 .line 85 new-instance v0, Lkotlin/collections/AbstractMap$keys$1; invoke-direct {v0, p0}, Lkotlin/collections/AbstractMap$keys$1;->(Lkotlin/collections/AbstractMap;)V check-cast v0, Ljava/util/Set; iput-object v0, p0, Lkotlin/collections/AbstractMap;->_keys:Ljava/util/Set; :cond_0 iget-object p0, p0, Lkotlin/collections/AbstractMap;->_keys:Ljava/util/Set; .line 99 invoke-static {p0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;)V return-object p0 .end method .method public getSize()I .locals 0 .line 74 invoke-virtual {p0}, Lkotlin/collections/AbstractMap;->entrySet()Ljava/util/Set; move-result-object p0 invoke-interface {p0}, Ljava/util/Set;->size()I move-result p0 return p0 .end method .method public getValues()Ljava/util/Collection; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "()", "Ljava/util/Collection<", "TV;>;" } .end annotation iget-object v0, p0, Lkotlin/collections/AbstractMap;->_values:Ljava/util/Collection; if-nez v0, :cond_0 .line 121 new-instance v0, Lkotlin/collections/AbstractMap$values$1; invoke-direct {v0, p0}, Lkotlin/collections/AbstractMap$values$1;->(Lkotlin/collections/AbstractMap;)V check-cast v0, Ljava/util/Collection; iput-object v0, p0, Lkotlin/collections/AbstractMap;->_values:Ljava/util/Collection; :cond_0 iget-object p0, p0, Lkotlin/collections/AbstractMap;->_values:Ljava/util/Collection; .line 135 invoke-static {p0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;)V return-object p0 .end method .method public hashCode()I .locals 0 .line 71 invoke-virtual {p0}, Lkotlin/collections/AbstractMap;->entrySet()Ljava/util/Set; 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 73 invoke-virtual {p0}, Lkotlin/collections/AbstractMap;->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 .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 21 invoke-virtual {p0}, Lkotlin/collections/AbstractMap;->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;->(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;->(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;->(Ljava/lang/String;)V throw p0 .end method .method public final bridge size()I .locals 0 .line 21 invoke-virtual {p0}, Lkotlin/collections/AbstractMap;->getSize()I move-result p0 return p0 .end method .method public toString()Ljava/lang/String; .locals 10 .line 106 invoke-virtual {p0}, Lkotlin/collections/AbstractMap;->entrySet()Ljava/util/Set; move-result-object v0 move-object v1, v0 check-cast v1, Ljava/lang/Iterable; const-string v0, ", " move-object v2, v0 check-cast v2, Ljava/lang/CharSequence; const-string v0, "{" move-object v3, v0 check-cast v3, Ljava/lang/CharSequence; const-string v0, "}" move-object v4, v0 check-cast v4, Ljava/lang/CharSequence; const/4 v5, 0x0 const/4 v6, 0x0 new-instance v0, Lkotlin/collections/AbstractMap$toString$1; invoke-direct {v0, p0}, Lkotlin/collections/AbstractMap$toString$1;->(Lkotlin/collections/AbstractMap;)V move-object v7, v0 check-cast v7, Lkotlin/jvm/functions/Function1; const/16 v8, 0x18 const/4 v9, 0x0 invoke-static/range {v1 .. v9}, Lkotlin/collections/CollectionsKt;->joinToString$default(Ljava/lang/Iterable;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;ILjava/lang/CharSequence;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)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 21 invoke-virtual {p0}, Lkotlin/collections/AbstractMap;->getValues()Ljava/util/Collection; move-result-object p0 return-object p0 .end method