.class final Landroidx/collection/MutableScatterSet$MutableSetWrapper; .super Landroidx/collection/ScatterSet$SetWrapper; .source "SourceFile" # interfaces .implements Ljava/util/Set; .implements Lkotlin/jvm/internal/markers/KMutableSet; # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Landroidx/collection/MutableScatterSet; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x11 name = "MutableSetWrapper" .end annotation .annotation system Ldalvik/annotation/Signature; value = { "Landroidx/collection/ScatterSet<", "TE;>.SetWrapper;", "Ljava/util/Set<", "TE;>;", "Lkotlin/jvm/internal/markers/KMutableSet;" } .end annotation .annotation build Lkotlin/jvm/internal/SourceDebugExtension; value = { "SMAP\nScatterSet.kt\nKotlin\n*S Kotlin\n*F\n+ 1 ScatterSet.kt\nandroidx/collection/MutableScatterSet$MutableSetWrapper\n+ 2 ScatterSet.kt\nandroidx/collection/ScatterSet\n+ 3 ScatterMap.kt\nandroidx/collection/ScatterMapKt\n*L\n1#1,1100:1\n237#2,7:1101\n248#2,3:1109\n251#2,9:1113\n1826#3:1108\n1688#3:1112\n*S KotlinDebug\n*F\n+ 1 ScatterSet.kt\nandroidx/collection/MutableScatterSet$MutableSetWrapper\n*L\n1080#1:1101,7\n1080#1:1109,3\n1080#1:1113,9\n1080#1:1108\n1080#1:1112\n*E\n" } .end annotation # instance fields .field final synthetic this$0:Landroidx/collection/MutableScatterSet; .annotation system Ldalvik/annotation/Signature; value = { "Landroidx/collection/MutableScatterSet<", "TE;>;" } .end annotation .end field # direct methods .method public constructor (Landroidx/collection/MutableScatterSet;)V .locals 0 .annotation system Ldalvik/annotation/Signature; value = { "()V" } .end annotation iput-object p1, p0, Landroidx/collection/MutableScatterSet$MutableSetWrapper;->this$0:Landroidx/collection/MutableScatterSet; .line 1044 invoke-direct {p0, p1}, Landroidx/collection/ScatterSet$SetWrapper;->(Landroidx/collection/ScatterSet;)V return-void .end method # virtual methods .method public add(Ljava/lang/Object;)Z .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(TE;)Z" } .end annotation iget-object v0, p0, Landroidx/collection/MutableScatterSet$MutableSetWrapper;->this$0:Landroidx/collection/MutableScatterSet; .line 1045 invoke-virtual {v0, p1}, Landroidx/collection/MutableScatterSet;->add(Ljava/lang/Object;)Z move-result p1 return p1 .end method .method public addAll(Ljava/util/Collection;)Z .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/Collection<", "+TE;>;)Z" } .end annotation const-string v0, "elements" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V iget-object v0, p0, Landroidx/collection/MutableScatterSet$MutableSetWrapper;->this$0:Landroidx/collection/MutableScatterSet; .line 1048 check-cast p1, Ljava/lang/Iterable; invoke-virtual {v0, p1}, Landroidx/collection/MutableScatterSet;->addAll(Ljava/lang/Iterable;)Z move-result p1 return p1 .end method .method public clear()V .locals 1 iget-object v0, p0, Landroidx/collection/MutableScatterSet$MutableSetWrapper;->this$0:Landroidx/collection/MutableScatterSet; .line 1051 invoke-virtual {v0}, Landroidx/collection/MutableScatterSet;->clear()V return-void .end method .method public iterator()Ljava/util/Iterator; .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "()", "Ljava/util/Iterator<", "TE;>;" } .end annotation .line 1054 new-instance v0, Landroidx/collection/MutableScatterSet$MutableSetWrapper$iterator$1; iget-object v1, p0, Landroidx/collection/MutableScatterSet$MutableSetWrapper;->this$0:Landroidx/collection/MutableScatterSet; invoke-direct {v0, v1}, Landroidx/collection/MutableScatterSet$MutableSetWrapper$iterator$1;->(Landroidx/collection/MutableScatterSet;)V return-object v0 .end method .method public remove(Ljava/lang/Object;)Z .locals 1 iget-object v0, p0, Landroidx/collection/MutableScatterSet$MutableSetWrapper;->this$0:Landroidx/collection/MutableScatterSet; .line 1076 invoke-virtual {v0, p1}, Landroidx/collection/MutableScatterSet;->remove(Ljava/lang/Object;)Z move-result p1 return p1 .end method .method public removeAll(Ljava/util/Collection;)Z .locals 3 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/Collection<", "+", "Ljava/lang/Object;", ">;)Z" } .end annotation const-string v0, "elements" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V iget-object v0, p0, Landroidx/collection/MutableScatterSet$MutableSetWrapper;->this$0:Landroidx/collection/MutableScatterSet; .line 1092 invoke-virtual {v0}, Landroidx/collection/ScatterSet;->getSize()I move-result v0 .line 1093 invoke-interface {p1}, Ljava/util/Collection;->iterator()Ljava/util/Iterator; move-result-object p1 :goto_0 invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z move-result v1 if-eqz v1, :cond_0 invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object; move-result-object v1 iget-object v2, p0, Landroidx/collection/MutableScatterSet$MutableSetWrapper;->this$0:Landroidx/collection/MutableScatterSet; .line 1094 invoke-virtual {v2, v1}, Landroidx/collection/MutableScatterSet;->minusAssign(Ljava/lang/Object;)V goto :goto_0 :cond_0 iget-object p1, p0, Landroidx/collection/MutableScatterSet$MutableSetWrapper;->this$0:Landroidx/collection/MutableScatterSet; .line 1096 invoke-virtual {p1}, Landroidx/collection/ScatterSet;->getSize()I move-result p1 if-eq v0, p1, :cond_1 const/4 p1, 0x1 goto :goto_1 :cond_1 const/4 p1, 0x0 :goto_1 return p1 .end method .method public retainAll(Ljava/util/Collection;)Z .locals 17 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/Collection<", "+", "Ljava/lang/Object;", ">;)Z" } .end annotation move-object/from16 v0, p1 const-string v1, "elements" invoke-static {v0, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V move-object/from16 v1, p0 iget-object v2, v1, Landroidx/collection/MutableScatterSet$MutableSetWrapper;->this$0:Landroidx/collection/MutableScatterSet; .line 238 iget-object v3, v2, Landroidx/collection/ScatterSet;->metadata:[J .line 239 array-length v4, v3 add-int/lit8 v4, v4, -0x2 const/4 v5, 0x0 if-ltz v4, :cond_4 move v6, v5 move v7, v6 .line 242 :goto_0 aget-wide v8, v3, v6 not-long v10, v8 const/4 v12, 0x7 shl-long/2addr v10, v12 and-long/2addr v10, v8 const-wide v12, -0x7f7f7f7f7f7f7f80L # -2.937446524422997E-306 and-long/2addr v10, v12 cmp-long v10, v10, v12 if-eqz v10, :cond_2 sub-int v10, v6, v4 not-int v10, v10 ushr-int/lit8 v10, v10, 0x1f const/16 v11, 0x8 rsub-int/lit8 v10, v10, 0x8 move v12, v5 :goto_1 if-ge v12, v10, :cond_1 const-wide/16 v13, 0xff and-long/2addr v13, v8 const-wide/16 v15, 0x80 cmp-long v13, v13, v15 if-gez v13, :cond_0 shl-int/lit8 v13, v6, 0x3 add-int/2addr v13, v12 .line 1082 iget-object v14, v2, Landroidx/collection/ScatterSet;->elements:[Ljava/lang/Object; aget-object v14, v14, v13 .line 1083 invoke-interface {v0, v14}, Ljava/util/Collection;->contains(Ljava/lang/Object;)Z move-result v14 if-nez v14, :cond_0 .line 1084 invoke-virtual {v2, v13}, Landroidx/collection/MutableScatterSet;->removeElementAt(I)V const/4 v7, 0x1 :cond_0 shr-long/2addr v8, v11 add-int/lit8 v12, v12, 0x1 goto :goto_1 :cond_1 if-ne v10, v11, :cond_5 :cond_2 if-eq v6, v4, :cond_3 add-int/lit8 v6, v6, 0x1 goto :goto_0 :cond_3 move v5, v7 :cond_4 move v7, v5 :cond_5 return v7 .end method