.class Lkotlin/collections/CollectionsKt__MutableCollectionsKt; .super Lkotlin/collections/CollectionsKt__MutableCollectionsJVMKt; .source "MutableCollections.kt" # annotations .annotation runtime Lkotlin/Metadata; d1 = { "\u0000R\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u001f\n\u0000\n\u0002\u0010\u0011\n\u0000\n\u0002\u0010\u001c\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u001d\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0010!\n\u0000\n\u0002\u0010\u0002\n\u0002\u0008\u0005\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0010\u0008\n\u0002\u0008\u0002\n\u0002\u0010\u001e\n\u0002\u0008\t\u001a-\u0010\u0000\u001a\u00020\u0001\"\u0004\u0008\u0000\u0010\u0002*\n\u0012\u0006\u0008\u0000\u0012\u0002H\u00020\u00032\u000e\u0010\u0004\u001a\n\u0012\u0006\u0008\u0001\u0012\u0002H\u00020\u0005\u00a2\u0006\u0002\u0010\u0006\u001a&\u0010\u0000\u001a\u00020\u0001\"\u0004\u0008\u0000\u0010\u0002*\n\u0012\u0006\u0008\u0000\u0012\u0002H\u00020\u00032\u000c\u0010\u0004\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u0007\u001a&\u0010\u0000\u001a\u00020\u0001\"\u0004\u0008\u0000\u0010\u0002*\n\u0012\u0006\u0008\u0000\u0012\u0002H\u00020\u00032\u000c\u0010\u0004\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u0008\u001a9\u0010\t\u001a\u00020\u0001\"\u0004\u0008\u0000\u0010\u0002*\u0008\u0012\u0004\u0012\u0002H\u00020\n2\u0012\u0010\u000b\u001a\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u00020\u00010\u000c2\u0006\u0010\r\u001a\u00020\u0001H\u0002\u00a2\u0006\u0002\u0008\u000e\u001a9\u0010\t\u001a\u00020\u0001\"\u0004\u0008\u0000\u0010\u0002*\u0008\u0012\u0004\u0012\u0002H\u00020\u000f2\u0012\u0010\u000b\u001a\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u00020\u00010\u000c2\u0006\u0010\r\u001a\u00020\u0001H\u0002\u00a2\u0006\u0002\u0008\u000e\u001a(\u0010\u0010\u001a\u00020\u0011\"\u0004\u0008\u0000\u0010\u0002*\n\u0012\u0006\u0008\u0000\u0012\u0002H\u00020\u00032\u0006\u0010\u0012\u001a\u0002H\u0002H\u0087\n\u00a2\u0006\u0002\u0010\u0013\u001a.\u0010\u0010\u001a\u00020\u0011\"\u0004\u0008\u0000\u0010\u0002*\n\u0012\u0006\u0008\u0000\u0012\u0002H\u00020\u00032\u000c\u0010\u0004\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u0005H\u0087\n\u00a2\u0006\u0002\u0010\u0014\u001a)\u0010\u0010\u001a\u00020\u0011\"\u0004\u0008\u0000\u0010\u0002*\n\u0012\u0006\u0008\u0000\u0012\u0002H\u00020\u00032\u000c\u0010\u0004\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u0007H\u0087\n\u001a)\u0010\u0010\u001a\u00020\u0011\"\u0004\u0008\u0000\u0010\u0002*\n\u0012\u0006\u0008\u0000\u0012\u0002H\u00020\u00032\u000c\u0010\u0004\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u0008H\u0087\n\u001a(\u0010\u0015\u001a\u00020\u0011\"\u0004\u0008\u0000\u0010\u0002*\n\u0012\u0006\u0008\u0000\u0012\u0002H\u00020\u00032\u0006\u0010\u0012\u001a\u0002H\u0002H\u0087\n\u00a2\u0006\u0002\u0010\u0013\u001a.\u0010\u0015\u001a\u00020\u0011\"\u0004\u0008\u0000\u0010\u0002*\n\u0012\u0006\u0008\u0000\u0012\u0002H\u00020\u00032\u000c\u0010\u0004\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u0005H\u0087\n\u00a2\u0006\u0002\u0010\u0014\u001a)\u0010\u0015\u001a\u00020\u0011\"\u0004\u0008\u0000\u0010\u0002*\n\u0012\u0006\u0008\u0000\u0012\u0002H\u00020\u00032\u000c\u0010\u0004\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u0007H\u0087\n\u001a)\u0010\u0015\u001a\u00020\u0011\"\u0004\u0008\u0000\u0010\u0002*\n\u0012\u0006\u0008\u0000\u0012\u0002H\u00020\u00032\u000c\u0010\u0004\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u0008H\u0087\n\u001a-\u0010\u0016\u001a\u00020\u0001\"\t\u0008\u0000\u0010\u0002\u00a2\u0006\u0002\u0008\u0017*\n\u0012\u0006\u0008\u0001\u0012\u0002H\u00020\u00032\u0006\u0010\u0012\u001a\u0002H\u0002H\u0087\u0008\u00a2\u0006\u0002\u0010\u0018\u001a&\u0010\u0016\u001a\u0002H\u0002\"\u0004\u0008\u0000\u0010\u0002*\u0008\u0012\u0004\u0012\u0002H\u00020\u000f2\u0006\u0010\u0019\u001a\u00020\u001aH\u0087\u0008\u00a2\u0006\u0002\u0010\u001b\u001a-\u0010\u001c\u001a\u00020\u0001\"\u0004\u0008\u0000\u0010\u0002*\n\u0012\u0006\u0008\u0000\u0012\u0002H\u00020\u00032\u000e\u0010\u0004\u001a\n\u0012\u0006\u0008\u0001\u0012\u0002H\u00020\u0005\u00a2\u0006\u0002\u0010\u0006\u001a&\u0010\u001c\u001a\u00020\u0001\"\u0004\u0008\u0000\u0010\u0002*\n\u0012\u0006\u0008\u0000\u0012\u0002H\u00020\u00032\u000c\u0010\u0004\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u0007\u001a&\u0010\u001c\u001a\u00020\u0001\"\u0004\u0008\u0000\u0010\u0002*\n\u0012\u0006\u0008\u0000\u0012\u0002H\u00020\u00032\u000c\u0010\u0004\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u0008\u001a.\u0010\u001c\u001a\u00020\u0001\"\t\u0008\u0000\u0010\u0002\u00a2\u0006\u0002\u0008\u0017*\n\u0012\u0006\u0008\u0001\u0012\u0002H\u00020\u00032\u000c\u0010\u0004\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u001dH\u0087\u0008\u001a*\u0010\u001c\u001a\u00020\u0001\"\u0004\u0008\u0000\u0010\u0002*\u0008\u0012\u0004\u0012\u0002H\u00020\n2\u0012\u0010\u000b\u001a\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u00020\u00010\u000c\u001a*\u0010\u001c\u001a\u00020\u0001\"\u0004\u0008\u0000\u0010\u0002*\u0008\u0012\u0004\u0012\u0002H\u00020\u000f2\u0012\u0010\u000b\u001a\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u00020\u00010\u000c\u001a\u001d\u0010\u001e\u001a\u0002H\u0002\"\u0004\u0008\u0000\u0010\u0002*\u0008\u0012\u0004\u0012\u0002H\u00020\u000fH\u0007\u00a2\u0006\u0002\u0010\u001f\u001a\u001f\u0010 \u001a\u0004\u0018\u0001H\u0002\"\u0004\u0008\u0000\u0010\u0002*\u0008\u0012\u0004\u0012\u0002H\u00020\u000fH\u0007\u00a2\u0006\u0002\u0010\u001f\u001a\u001d\u0010!\u001a\u0002H\u0002\"\u0004\u0008\u0000\u0010\u0002*\u0008\u0012\u0004\u0012\u0002H\u00020\u000fH\u0007\u00a2\u0006\u0002\u0010\u001f\u001a\u001f\u0010\"\u001a\u0004\u0018\u0001H\u0002\"\u0004\u0008\u0000\u0010\u0002*\u0008\u0012\u0004\u0012\u0002H\u00020\u000fH\u0007\u00a2\u0006\u0002\u0010\u001f\u001a-\u0010#\u001a\u00020\u0001\"\u0004\u0008\u0000\u0010\u0002*\n\u0012\u0006\u0008\u0000\u0012\u0002H\u00020\u00032\u000e\u0010\u0004\u001a\n\u0012\u0006\u0008\u0001\u0012\u0002H\u00020\u0005\u00a2\u0006\u0002\u0010\u0006\u001a&\u0010#\u001a\u00020\u0001\"\u0004\u0008\u0000\u0010\u0002*\n\u0012\u0006\u0008\u0000\u0012\u0002H\u00020\u00032\u000c\u0010\u0004\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u0007\u001a&\u0010#\u001a\u00020\u0001\"\u0004\u0008\u0000\u0010\u0002*\n\u0012\u0006\u0008\u0000\u0012\u0002H\u00020\u00032\u000c\u0010\u0004\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u0008\u001a.\u0010#\u001a\u00020\u0001\"\t\u0008\u0000\u0010\u0002\u00a2\u0006\u0002\u0008\u0017*\n\u0012\u0006\u0008\u0001\u0012\u0002H\u00020\u00032\u000c\u0010\u0004\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u001dH\u0087\u0008\u001a*\u0010#\u001a\u00020\u0001\"\u0004\u0008\u0000\u0010\u0002*\u0008\u0012\u0004\u0012\u0002H\u00020\n2\u0012\u0010\u000b\u001a\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u00020\u00010\u000c\u001a*\u0010#\u001a\u00020\u0001\"\u0004\u0008\u0000\u0010\u0002*\u0008\u0012\u0004\u0012\u0002H\u00020\u000f2\u0012\u0010\u000b\u001a\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u00020\u00010\u000c\u001a\u0015\u0010$\u001a\u00020\u0001*\u0006\u0012\u0002\u0008\u00030\u0003H\u0002\u00a2\u0006\u0002\u0008%\u00a8\u0006&" } d2 = { "addAll", "", "T", "", "elements", "", "(Ljava/util/Collection;[Ljava/lang/Object;)Z", "", "Lkotlin/sequences/Sequence;", "filterInPlace", "", "predicate", "Lkotlin/Function1;", "predicateResultToRemove", "filterInPlace$CollectionsKt__MutableCollectionsKt", "", "minusAssign", "", "element", "(Ljava/util/Collection;Ljava/lang/Object;)V", "(Ljava/util/Collection;[Ljava/lang/Object;)V", "plusAssign", "remove", "Lkotlin/internal/OnlyInputTypes;", "(Ljava/util/Collection;Ljava/lang/Object;)Z", "index", "", "(Ljava/util/List;I)Ljava/lang/Object;", "removeAll", "", "removeFirst", "(Ljava/util/List;)Ljava/lang/Object;", "removeFirstOrNull", "removeLast", "removeLastOrNull", "retainAll", "retainNothing", "retainNothing$CollectionsKt__MutableCollectionsKt", "kotlin-stdlib" } k = 0x5 mv = { 0x1, 0x5, 0x1 } xi = 0x1 xs = "kotlin/collections/CollectionsKt" .end annotation # direct methods .method public constructor ()V .registers 1 invoke-direct {p0}, Lkotlin/collections/CollectionsKt__MutableCollectionsJVMKt;->()V return-void .end method .method public static final addAll(Ljava/util/Collection;Ljava/lang/Iterable;)Z .registers 4 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/Collection<", "-TT;>;", "Ljava/lang/Iterable<", "+TT;>;)Z" } .end annotation const-string v0, "$this$addAll" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "elements" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 116 instance-of v0, p1, Ljava/util/Collection; if-eqz v0, :cond_15 check-cast p1, Ljava/util/Collection; invoke-interface {p0, p1}, Ljava/util/Collection;->addAll(Ljava/util/Collection;)Z move-result p0 return p0 .line 119 :cond_15 invoke-interface {p1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator; move-result-object p1 const/4 v0, 0x0 :cond_1a :goto_1a invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z move-result v1 if-eqz v1, :cond_2c invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object; move-result-object v1 .line 120 invoke-interface {p0, v1}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z move-result v1 if-eqz v1, :cond_1a const/4 v0, 0x1 goto :goto_1a :cond_2c return v0 .end method .method public static final addAll(Ljava/util/Collection;Lkotlin/sequences/Sequence;)Z .registers 4 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/Collection<", "-TT;>;", "Lkotlin/sequences/Sequence<", "+TT;>;)Z" } .end annotation const-string v0, "$this$addAll" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "elements" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 131 invoke-interface {p1}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator; move-result-object p1 const/4 v0, 0x0 :cond_f :goto_f invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z move-result v1 if-eqz v1, :cond_21 invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object; move-result-object v1 .line 132 invoke-interface {p0, v1}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z move-result v1 if-eqz v1, :cond_f const/4 v0, 0x1 goto :goto_f :cond_21 return v0 .end method .method public static final addAll(Ljava/util/Collection;[Ljava/lang/Object;)Z .registers 3 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/Collection<", "-TT;>;[TT;)Z" } .end annotation const-string v0, "$this$addAll" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "elements" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 141 invoke-static {p1}, Lkotlin/collections/ArraysKt;->asList([Ljava/lang/Object;)Ljava/util/List; move-result-object p1 check-cast p1, Ljava/util/Collection; invoke-interface {p0, p1}, Ljava/util/Collection;->addAll(Ljava/util/Collection;)Z move-result p0 return p0 .end method .method private static final filterInPlace$CollectionsKt__MutableCollectionsKt(Ljava/lang/Iterable;Lkotlin/jvm/functions/Function1;Z)Z .registers 5 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/Iterable<", "+TT;>;", "Lkotlin/jvm/functions/Function1<", "-TT;", "Ljava/lang/Boolean;", ">;Z)Z" } .end annotation .line 217 invoke-interface {p0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator; move-result-object p0 const/4 v0, 0x0 .line 218 :cond_5 :goto_5 invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z move-result v1 if-eqz v1, :cond_20 .line 219 invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object; move-result-object v1 invoke-interface {p1, v1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v1 check-cast v1, Ljava/lang/Boolean; invoke-virtual {v1}, Ljava/lang/Boolean;->booleanValue()Z move-result v1 if-ne v1, p2, :cond_5 .line 220 invoke-interface {p0}, Ljava/util/Iterator;->remove()V const/4 v0, 0x1 goto :goto_5 :cond_20 return v0 .end method .method private static final filterInPlace$CollectionsKt__MutableCollectionsKt(Ljava/util/List;Lkotlin/jvm/functions/Function1;Z)Z .registers 9 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/List<", "TT;>;", "Lkotlin/jvm/functions/Function1<", "-TT;", "Ljava/lang/Boolean;", ">;Z)Z" } .end annotation .line 279 instance-of v0, p0, Ljava/util/RandomAccess; if-nez v0, :cond_17 if-eqz p0, :cond_f .line 280 invoke-static {p0}, Lkotlin/jvm/internal/TypeIntrinsics;->asMutableIterable(Ljava/lang/Object;)Ljava/lang/Iterable; move-result-object p0 invoke-static {p0, p1, p2}, Lkotlin/collections/CollectionsKt__MutableCollectionsKt;->filterInPlace$CollectionsKt__MutableCollectionsKt(Ljava/lang/Iterable;Lkotlin/jvm/functions/Function1;Z)Z move-result p0 return p0 :cond_f new-instance p0, Ljava/lang/NullPointerException; const-string p1, "null cannot be cast to non-null type kotlin.collections.MutableIterable" invoke-direct {p0, p1}, Ljava/lang/NullPointerException;->(Ljava/lang/String;)V throw p0 .line 283 :cond_17 invoke-static {p0}, Lkotlin/collections/CollectionsKt;->getLastIndex(Ljava/util/List;)I move-result v0 const/4 v1, 0x0 if-ltz v0, :cond_3d move v2, v1 move v3, v2 .line 284 :goto_20 invoke-interface {p0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object; move-result-object v4 .line 285 invoke-interface {p1, v4}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v5 check-cast v5, Ljava/lang/Boolean; invoke-virtual {v5}, Ljava/lang/Boolean;->booleanValue()Z move-result v5 if-ne v5, p2, :cond_31 goto :goto_38 :cond_31 if-eq v3, v2, :cond_36 .line 289 invoke-interface {p0, v3, v4}, Ljava/util/List;->set(ILjava/lang/Object;)Ljava/lang/Object; :cond_36 add-int/lit8 v3, v3, 0x1 :goto_38 if-eq v2, v0, :cond_3e add-int/lit8 v2, v2, 0x1 goto :goto_20 :cond_3d move v3, v1 .line 293 :cond_3e invoke-interface {p0}, Ljava/util/List;->size()I move-result p1 if-ge v3, p1, :cond_54 .line 294 invoke-static {p0}, Lkotlin/collections/CollectionsKt;->getLastIndex(Ljava/util/List;)I move-result p1 if-lt p1, v3, :cond_52 .line 295 :goto_4a invoke-interface {p0, p1}, Ljava/util/List;->remove(I)Ljava/lang/Object; if-eq p1, v3, :cond_52 add-int/lit8 p1, p1, -0x1 goto :goto_4a :cond_52 const/4 p0, 0x1 return p0 :cond_54 return v1 .end method .method private static final minusAssign(Ljava/util/Collection;Ljava/lang/Iterable;)V .registers 3 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/Collection<", "-TT;>;", "Ljava/lang/Iterable<", "+TT;>;)V" } .end annotation const-string v0, "$this$minusAssign" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 92 invoke-static {p0, p1}, Lkotlin/collections/CollectionsKt;->removeAll(Ljava/util/Collection;Ljava/lang/Iterable;)Z return-void .end method .method private static final minusAssign(Ljava/util/Collection;Ljava/lang/Object;)V .registers 3 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/Collection<", "-TT;>;TT;)V" } .end annotation const-string v0, "$this$minusAssign" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 84 invoke-interface {p0, p1}, Ljava/util/Collection;->remove(Ljava/lang/Object;)Z return-void .end method .method private static final minusAssign(Ljava/util/Collection;Lkotlin/sequences/Sequence;)V .registers 3 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/Collection<", "-TT;>;", "Lkotlin/sequences/Sequence<", "+TT;>;)V" } .end annotation const-string v0, "$this$minusAssign" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 108 invoke-static {p0, p1}, Lkotlin/collections/CollectionsKt;->removeAll(Ljava/util/Collection;Lkotlin/sequences/Sequence;)Z return-void .end method .method private static final minusAssign(Ljava/util/Collection;[Ljava/lang/Object;)V .registers 3 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/Collection<", "-TT;>;[TT;)V" } .end annotation const-string v0, "$this$minusAssign" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 100 invoke-static {p0, p1}, Lkotlin/collections/CollectionsKt;->removeAll(Ljava/util/Collection;[Ljava/lang/Object;)Z return-void .end method .method private static final plusAssign(Ljava/util/Collection;Ljava/lang/Iterable;)V .registers 3 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/Collection<", "-TT;>;", "Ljava/lang/Iterable<", "+TT;>;)V" } .end annotation const-string v0, "$this$plusAssign" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 60 invoke-static {p0, p1}, Lkotlin/collections/CollectionsKt;->addAll(Ljava/util/Collection;Ljava/lang/Iterable;)Z return-void .end method .method private static final plusAssign(Ljava/util/Collection;Ljava/lang/Object;)V .registers 3 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/Collection<", "-TT;>;TT;)V" } .end annotation const-string v0, "$this$plusAssign" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 52 invoke-interface {p0, p1}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z return-void .end method .method private static final plusAssign(Ljava/util/Collection;Lkotlin/sequences/Sequence;)V .registers 3 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/Collection<", "-TT;>;", "Lkotlin/sequences/Sequence<", "+TT;>;)V" } .end annotation const-string v0, "$this$plusAssign" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 76 invoke-static {p0, p1}, Lkotlin/collections/CollectionsKt;->addAll(Ljava/util/Collection;Lkotlin/sequences/Sequence;)Z return-void .end method .method private static final plusAssign(Ljava/util/Collection;[Ljava/lang/Object;)V .registers 3 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/Collection<", "-TT;>;[TT;)V" } .end annotation const-string v0, "$this$plusAssign" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 68 invoke-static {p0, p1}, Lkotlin/collections/CollectionsKt;->addAll(Ljava/util/Collection;[Ljava/lang/Object;)Z return-void .end method .method private static final remove(Ljava/util/List;I)Ljava/lang/Object; .registers 2 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/List<", "TT;>;I)TT;" } .end annotation .annotation runtime Lkotlin/Deprecated; level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel; message = "Use removeAt(index) instead." replaceWith = .subannotation Lkotlin/ReplaceWith; expression = "removeAt(index)" imports = {} .end subannotation .end annotation .line 234 invoke-interface {p0, p1}, Ljava/util/List;->remove(I)Ljava/lang/Object; move-result-object p0 return-object p0 .end method .method private static final remove(Ljava/util/Collection;Ljava/lang/Object;)Z .registers 2 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/Collection<", "+TT;>;TT;)Z" } .end annotation if-eqz p0, :cond_b .line 23 invoke-static {p0}, Lkotlin/jvm/internal/TypeIntrinsics;->asMutableCollection(Ljava/lang/Object;)Ljava/util/Collection; move-result-object p0 invoke-interface {p0, p1}, Ljava/util/Collection;->remove(Ljava/lang/Object;)Z move-result p0 return p0 :cond_b new-instance p0, Ljava/lang/NullPointerException; const-string p1, "null cannot be cast to non-null type kotlin.collections.MutableCollection" invoke-direct {p0, p1}, Ljava/lang/NullPointerException;->(Ljava/lang/String;)V throw p0 .end method .method public static final removeAll(Ljava/lang/Iterable;Lkotlin/jvm/functions/Function1;)Z .registers 3 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/Iterable<", "+TT;>;", "Lkotlin/jvm/functions/Function1<", "-TT;", "Ljava/lang/Boolean;", ">;)Z" } .end annotation const-string v0, "$this$removeAll" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "predicate" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const/4 v0, 0x1 .line 206 invoke-static {p0, p1, v0}, Lkotlin/collections/CollectionsKt__MutableCollectionsKt;->filterInPlace$CollectionsKt__MutableCollectionsKt(Ljava/lang/Iterable;Lkotlin/jvm/functions/Function1;Z)Z move-result p0 return p0 .end method .method public static final removeAll(Ljava/util/Collection;Ljava/lang/Iterable;)Z .registers 3 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/Collection<", "-TT;>;", "Ljava/lang/Iterable<", "+TT;>;)Z" } .end annotation const-string v0, "$this$removeAll" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "elements" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 148 move-object v0, p0 check-cast v0, Ljava/lang/Iterable; invoke-static {p1, v0}, Lkotlin/collections/CollectionsKt;->convertToSetForSetOperationWith(Ljava/lang/Iterable;Ljava/lang/Iterable;)Ljava/util/Collection; move-result-object p1 invoke-static {p0}, Lkotlin/jvm/internal/TypeIntrinsics;->asMutableCollection(Ljava/lang/Object;)Ljava/util/Collection; move-result-object p0 invoke-interface {p0, p1}, Ljava/util/Collection;->removeAll(Ljava/util/Collection;)Z move-result p0 return p0 .end method .method private static final removeAll(Ljava/util/Collection;Ljava/util/Collection;)Z .registers 2 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/Collection<", "+TT;>;", "Ljava/util/Collection<", "+TT;>;)Z" } .end annotation if-eqz p0, :cond_b .line 34 invoke-static {p0}, Lkotlin/jvm/internal/TypeIntrinsics;->asMutableCollection(Ljava/lang/Object;)Ljava/util/Collection; move-result-object p0 invoke-interface {p0, p1}, Ljava/util/Collection;->removeAll(Ljava/util/Collection;)Z move-result p0 return p0 :cond_b new-instance p0, Ljava/lang/NullPointerException; const-string p1, "null cannot be cast to non-null type kotlin.collections.MutableCollection" invoke-direct {p0, p1}, Ljava/lang/NullPointerException;->(Ljava/lang/String;)V throw p0 .end method .method public static final removeAll(Ljava/util/Collection;Lkotlin/sequences/Sequence;)Z .registers 3 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/Collection<", "-TT;>;", "Lkotlin/sequences/Sequence<", "+TT;>;)Z" } .end annotation const-string v0, "$this$removeAll" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "elements" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 155 invoke-static {p1}, Lkotlin/sequences/SequencesKt;->toHashSet(Lkotlin/sequences/Sequence;)Ljava/util/HashSet; move-result-object p1 .line 156 check-cast p1, Ljava/util/Collection; invoke-interface {p1}, Ljava/util/Collection;->isEmpty()Z move-result v0 if-nez v0, :cond_1e invoke-interface {p0, p1}, Ljava/util/Collection;->removeAll(Ljava/util/Collection;)Z move-result p0 if-eqz p0, :cond_1e const/4 p0, 0x1 goto :goto_1f :cond_1e const/4 p0, 0x0 :goto_1f return p0 .end method .method public static final removeAll(Ljava/util/Collection;[Ljava/lang/Object;)Z .registers 5 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/Collection<", "-TT;>;[TT;)Z" } .end annotation const-string v0, "$this$removeAll" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "elements" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 163 array-length v0, p1 const/4 v1, 0x1 const/4 v2, 0x0 if-nez v0, :cond_11 move v0, v1 goto :goto_12 :cond_11 move v0, v2 :goto_12 if-nez v0, :cond_21 invoke-static {p1}, Lkotlin/collections/ArraysKt;->toHashSet([Ljava/lang/Object;)Ljava/util/HashSet; move-result-object p1 check-cast p1, Ljava/util/Collection; invoke-interface {p0, p1}, Ljava/util/Collection;->removeAll(Ljava/util/Collection;)Z move-result p0 if-eqz p0, :cond_21 goto :goto_22 :cond_21 move v1, v2 :goto_22 return v1 .end method .method public static final removeAll(Ljava/util/List;Lkotlin/jvm/functions/Function1;)Z .registers 3 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/List<", "TT;>;", "Lkotlin/jvm/functions/Function1<", "-TT;", "Ljava/lang/Boolean;", ">;)Z" } .end annotation const-string v0, "$this$removeAll" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "predicate" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const/4 v0, 0x1 .line 269 invoke-static {p0, p1, v0}, Lkotlin/collections/CollectionsKt__MutableCollectionsKt;->filterInPlace$CollectionsKt__MutableCollectionsKt(Ljava/util/List;Lkotlin/jvm/functions/Function1;Z)Z move-result p0 return p0 .end method .method public static final removeFirst(Ljava/util/List;)Ljava/lang/Object; .registers 2 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/List<", "TT;>;)TT;" } .end annotation const-string v0, "$this$removeFirst" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 241 invoke-interface {p0}, Ljava/util/List;->isEmpty()Z move-result v0 if-nez v0, :cond_11 const/4 v0, 0x0 invoke-interface {p0, v0}, Ljava/util/List;->remove(I)Ljava/lang/Object; move-result-object p0 return-object p0 :cond_11 new-instance p0, Ljava/util/NoSuchElementException; const-string v0, "List is empty." invoke-direct {p0, v0}, Ljava/util/NoSuchElementException;->(Ljava/lang/String;)V check-cast p0, Ljava/lang/Throwable; throw p0 .end method .method public static final removeFirstOrNull(Ljava/util/List;)Ljava/lang/Object; .registers 2 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/List<", "TT;>;)TT;" } .end annotation const-string v0, "$this$removeFirstOrNull" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 248 invoke-interface {p0}, Ljava/util/List;->isEmpty()Z move-result v0 if-eqz v0, :cond_d const/4 p0, 0x0 goto :goto_12 :cond_d const/4 v0, 0x0 invoke-interface {p0, v0}, Ljava/util/List;->remove(I)Ljava/lang/Object; move-result-object p0 :goto_12 return-object p0 .end method .method public static final removeLast(Ljava/util/List;)Ljava/lang/Object; .registers 2 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/List<", "TT;>;)TT;" } .end annotation const-string v0, "$this$removeLast" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 255 invoke-interface {p0}, Ljava/util/List;->isEmpty()Z move-result v0 if-nez v0, :cond_14 invoke-static {p0}, Lkotlin/collections/CollectionsKt;->getLastIndex(Ljava/util/List;)I move-result v0 invoke-interface {p0, v0}, Ljava/util/List;->remove(I)Ljava/lang/Object; move-result-object p0 return-object p0 :cond_14 new-instance p0, Ljava/util/NoSuchElementException; const-string v0, "List is empty." invoke-direct {p0, v0}, Ljava/util/NoSuchElementException;->(Ljava/lang/String;)V check-cast p0, Ljava/lang/Throwable; throw p0 .end method .method public static final removeLastOrNull(Ljava/util/List;)Ljava/lang/Object; .registers 2 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/List<", "TT;>;)TT;" } .end annotation const-string v0, "$this$removeLastOrNull" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 262 invoke-interface {p0}, Ljava/util/List;->isEmpty()Z move-result v0 if-eqz v0, :cond_d const/4 p0, 0x0 goto :goto_15 :cond_d invoke-static {p0}, Lkotlin/collections/CollectionsKt;->getLastIndex(Ljava/util/List;)I move-result v0 invoke-interface {p0, v0}, Ljava/util/List;->remove(I)Ljava/lang/Object; move-result-object p0 :goto_15 return-object p0 .end method .method public static final retainAll(Ljava/lang/Iterable;Lkotlin/jvm/functions/Function1;)Z .registers 3 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/Iterable<", "+TT;>;", "Lkotlin/jvm/functions/Function1<", "-TT;", "Ljava/lang/Boolean;", ">;)Z" } .end annotation const-string v0, "$this$retainAll" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "predicate" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const/4 v0, 0x0 .line 213 invoke-static {p0, p1, v0}, Lkotlin/collections/CollectionsKt__MutableCollectionsKt;->filterInPlace$CollectionsKt__MutableCollectionsKt(Ljava/lang/Iterable;Lkotlin/jvm/functions/Function1;Z)Z move-result p0 return p0 .end method .method public static final retainAll(Ljava/util/Collection;Ljava/lang/Iterable;)Z .registers 3 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/Collection<", "-TT;>;", "Ljava/lang/Iterable<", "+TT;>;)Z" } .end annotation const-string v0, "$this$retainAll" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "elements" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 170 move-object v0, p0 check-cast v0, Ljava/lang/Iterable; invoke-static {p1, v0}, Lkotlin/collections/CollectionsKt;->convertToSetForSetOperationWith(Ljava/lang/Iterable;Ljava/lang/Iterable;)Ljava/util/Collection; move-result-object p1 invoke-static {p0}, Lkotlin/jvm/internal/TypeIntrinsics;->asMutableCollection(Ljava/lang/Object;)Ljava/util/Collection; move-result-object p0 invoke-interface {p0, p1}, Ljava/util/Collection;->retainAll(Ljava/util/Collection;)Z move-result p0 return p0 .end method .method private static final retainAll(Ljava/util/Collection;Ljava/util/Collection;)Z .registers 2 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/Collection<", "+TT;>;", "Ljava/util/Collection<", "+TT;>;)Z" } .end annotation if-eqz p0, :cond_b .line 45 invoke-static {p0}, Lkotlin/jvm/internal/TypeIntrinsics;->asMutableCollection(Ljava/lang/Object;)Ljava/util/Collection; move-result-object p0 invoke-interface {p0, p1}, Ljava/util/Collection;->retainAll(Ljava/util/Collection;)Z move-result p0 return p0 :cond_b new-instance p0, Ljava/lang/NullPointerException; const-string p1, "null cannot be cast to non-null type kotlin.collections.MutableCollection" invoke-direct {p0, p1}, Ljava/lang/NullPointerException;->(Ljava/lang/String;)V throw p0 .end method .method public static final retainAll(Ljava/util/Collection;Lkotlin/sequences/Sequence;)Z .registers 3 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/Collection<", "-TT;>;", "Lkotlin/sequences/Sequence<", "+TT;>;)Z" } .end annotation const-string v0, "$this$retainAll" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "elements" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 187 invoke-static {p1}, Lkotlin/sequences/SequencesKt;->toHashSet(Lkotlin/sequences/Sequence;)Ljava/util/HashSet; move-result-object p1 .line 188 check-cast p1, Ljava/util/Collection; invoke-interface {p1}, Ljava/util/Collection;->isEmpty()Z move-result v0 if-nez v0, :cond_1b .line 189 invoke-interface {p0, p1}, Ljava/util/Collection;->retainAll(Ljava/util/Collection;)Z move-result p0 return p0 .line 191 :cond_1b invoke-static {p0}, Lkotlin/collections/CollectionsKt__MutableCollectionsKt;->retainNothing$CollectionsKt__MutableCollectionsKt(Ljava/util/Collection;)Z move-result p0 return p0 .end method .method public static final retainAll(Ljava/util/Collection;[Ljava/lang/Object;)Z .registers 3 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/Collection<", "-TT;>;[TT;)Z" } .end annotation const-string v0, "$this$retainAll" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "elements" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 177 array-length v0, p1 if-nez v0, :cond_f const/4 v0, 0x1 goto :goto_10 :cond_f const/4 v0, 0x0 :goto_10 if-nez v0, :cond_1d .line 178 invoke-static {p1}, Lkotlin/collections/ArraysKt;->toHashSet([Ljava/lang/Object;)Ljava/util/HashSet; move-result-object p1 check-cast p1, Ljava/util/Collection; invoke-interface {p0, p1}, Ljava/util/Collection;->retainAll(Ljava/util/Collection;)Z move-result p0 return p0 .line 180 :cond_1d invoke-static {p0}, Lkotlin/collections/CollectionsKt__MutableCollectionsKt;->retainNothing$CollectionsKt__MutableCollectionsKt(Ljava/util/Collection;)Z move-result p0 return p0 .end method .method public static final retainAll(Ljava/util/List;Lkotlin/jvm/functions/Function1;)Z .registers 3 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/List<", "TT;>;", "Lkotlin/jvm/functions/Function1<", "-TT;", "Ljava/lang/Boolean;", ">;)Z" } .end annotation const-string v0, "$this$retainAll" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "predicate" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const/4 v0, 0x0 .line 276 invoke-static {p0, p1, v0}, Lkotlin/collections/CollectionsKt__MutableCollectionsKt;->filterInPlace$CollectionsKt__MutableCollectionsKt(Ljava/util/List;Lkotlin/jvm/functions/Function1;Z)Z move-result p0 return p0 .end method .method private static final retainNothing$CollectionsKt__MutableCollectionsKt(Ljava/util/Collection;)Z .registers 2 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/Collection<", "*>;)Z" } .end annotation .line 195 invoke-interface {p0}, Ljava/util/Collection;->isEmpty()Z move-result v0 xor-int/lit8 v0, v0, 0x1 .line 196 invoke-interface {p0}, Ljava/util/Collection;->clear()V return v0 .end method