.class public Ly/r/q; .super Ly/r/p; .source "_Sequences.kt" # direct methods .method public static final asIterable(Lkotlin/sequences/Sequence;)Ljava/lang/Iterable; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lkotlin/sequences/Sequence<", "+TT;>;)", "Ljava/lang/Iterable<", "TT;>;" } .end annotation const-string v0, "$this$asIterable" invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V new-instance v0, Ly/r/q$a; invoke-direct {v0, p0}, Ly/r/q$a;->(Lkotlin/sequences/Sequence;)V return-object v0 .end method .method public static final drop(Lkotlin/sequences/Sequence;I)Lkotlin/sequences/Sequence; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lkotlin/sequences/Sequence<", "+TT;>;I)", "Lkotlin/sequences/Sequence<", "TT;>;" } .end annotation const-string v0, "$this$drop" invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V if-ltz p1, :cond_0 const/4 v0, 0x1 goto :goto_0 :cond_0 const/4 v0, 0x0 :goto_0 if-eqz v0, :cond_3 if-nez p1, :cond_1 goto :goto_1 :cond_1 instance-of v0, p0, Ly/r/e; if-eqz v0, :cond_2 check-cast p0, Ly/r/e; invoke-interface {p0, p1}, Ly/r/e;->drop(I)Lkotlin/sequences/Sequence; move-result-object p0 goto :goto_1 :cond_2 new-instance v0, Ly/r/d; invoke-direct {v0, p0, p1}, Ly/r/d;->(Lkotlin/sequences/Sequence;I)V move-object p0, v0 :goto_1 return-object p0 :cond_3 const-string p0, "Requested element count " const-string v0, " is less than zero." invoke-static {p0, p1, v0}, Lf/e/c/a/a;->k(Ljava/lang/String;ILjava/lang/String;)Ljava/lang/String; move-result-object p0 new-instance p1, Ljava/lang/IllegalArgumentException; invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String; move-result-object p0 invoke-direct {p1, p0}, Ljava/lang/IllegalArgumentException;->(Ljava/lang/String;)V throw p1 .end method .method public static final filter(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Lkotlin/sequences/Sequence; .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lkotlin/sequences/Sequence<", "+TT;>;", "Lkotlin/jvm/functions/Function1<", "-TT;", "Ljava/lang/Boolean;", ">;)", "Lkotlin/sequences/Sequence<", "TT;>;" } .end annotation const-string v0, "$this$filter" invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "predicate" invoke-static {p1, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V new-instance v0, Ly/r/g; const/4 v1, 0x1 invoke-direct {v0, p0, v1, p1}, Ly/r/g;->(Lkotlin/sequences/Sequence;ZLkotlin/jvm/functions/Function1;)V return-object v0 .end method .method public static final filterNot(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Lkotlin/sequences/Sequence; .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lkotlin/sequences/Sequence<", "+TT;>;", "Lkotlin/jvm/functions/Function1<", "-TT;", "Ljava/lang/Boolean;", ">;)", "Lkotlin/sequences/Sequence<", "TT;>;" } .end annotation const-string v0, "$this$filterNot" invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "predicate" invoke-static {p1, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V new-instance v0, Ly/r/g; const/4 v1, 0x0 invoke-direct {v0, p0, v1, p1}, Ly/r/g;->(Lkotlin/sequences/Sequence;ZLkotlin/jvm/functions/Function1;)V return-object v0 .end method .method public static final filterNotNull(Lkotlin/sequences/Sequence;)Lkotlin/sequences/Sequence; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lkotlin/sequences/Sequence<", "+TT;>;)", "Lkotlin/sequences/Sequence<", "TT;>;" } .end annotation const-string v0, "$this$filterNotNull" invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V sget-object v0, Ly/r/q$b;->d:Ly/r/q$b; invoke-static {p0, v0}, Ly/r/q;->filterNot(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Lkotlin/sequences/Sequence; move-result-object p0 return-object p0 .end method .method public static final firstOrNull(Lkotlin/sequences/Sequence;)Ljava/lang/Object; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lkotlin/sequences/Sequence<", "+TT;>;)TT;" } .end annotation const-string v0, "$this$firstOrNull" invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator; move-result-object p0 invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z move-result v0 if-nez v0, :cond_0 const/4 p0, 0x0 return-object p0 :cond_0 invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object; move-result-object p0 return-object p0 .end method .method public static joinToString$default(Lkotlin/sequences/Sequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;ILjava/lang/CharSequence;Lkotlin/jvm/functions/Function1;I)Ljava/lang/String; .locals 5 and-int/lit8 p2, p7, 0x1 if-eqz p2, :cond_0 const-string p1, ", " :cond_0 and-int/lit8 p2, p7, 0x2 const-string p3, "" const/4 p5, 0x0 if-eqz p2, :cond_1 move-object p2, p3 goto :goto_0 :cond_1 move-object p2, p5 :goto_0 and-int/lit8 p6, p7, 0x4 if-eqz p6, :cond_2 goto :goto_1 :cond_2 move-object p3, p5 :goto_1 and-int/lit8 p6, p7, 0x8 if-eqz p6, :cond_3 const/4 p4, -0x1 :cond_3 and-int/lit8 p6, p7, 0x10 if-eqz p6, :cond_4 const-string p6, "..." goto :goto_2 :cond_4 move-object p6, p5 :goto_2 and-int/lit8 p7, p7, 0x20 const-string p7, "$this$joinToString" invoke-static {p0, p7}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string p7, "separator" invoke-static {p1, p7}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "prefix" invoke-static {p2, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v1, "postfix" invoke-static {p3, v1}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v2, "truncated" invoke-static {p6, v2}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V new-instance v3, Ljava/lang/StringBuilder; invoke-direct {v3}, Ljava/lang/StringBuilder;->()V const-string v4, "$this$joinTo" invoke-static {p0, v4}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v4, "buffer" invoke-static {v3, v4}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V invoke-static {p1, p7}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V invoke-static {p2, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V invoke-static {p3, v1}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V invoke-static {p6, v2}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V invoke-virtual {v3, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/CharSequence;)Ljava/lang/Appendable; invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator; move-result-object p0 const/4 p2, 0x0 :goto_3 invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z move-result p7 if-eqz p7, :cond_7 invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object; move-result-object p7 add-int/lit8 p2, p2, 0x1 const/4 v0, 0x1 if-le p2, v0, :cond_5 invoke-virtual {v3, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/CharSequence;)Ljava/lang/Appendable; :cond_5 if-ltz p4, :cond_6 if-gt p2, p4, :cond_7 :cond_6 invoke-static {v3, p7, p5}, Ly/s/f;->appendElement(Ljava/lang/Appendable;Ljava/lang/Object;Lkotlin/jvm/functions/Function1;)V goto :goto_3 :cond_7 if-ltz p4, :cond_8 if-le p2, p4, :cond_8 invoke-virtual {v3, p6}, Ljava/lang/StringBuilder;->append(Ljava/lang/CharSequence;)Ljava/lang/Appendable; :cond_8 invoke-virtual {v3, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/CharSequence;)Ljava/lang/Appendable; invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object p0 const-string p1, "joinTo(StringBuilder(), \u2026ed, transform).toString()" invoke-static {p0, p1}, Ly/m/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V return-object p0 .end method .method public static final map(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Lkotlin/sequences/Sequence; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lkotlin/sequences/Sequence<", "+TT;>;", "Lkotlin/jvm/functions/Function1<", "-TT;+TR;>;)", "Lkotlin/sequences/Sequence<", "TR;>;" } .end annotation const-string v0, "$this$map" invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "transform" invoke-static {p1, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V new-instance v0, Ly/r/v; invoke-direct {v0, p0, p1}, Ly/r/v;->(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)V return-object v0 .end method .method public static final mapNotNull(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Lkotlin/sequences/Sequence; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lkotlin/sequences/Sequence<", "+TT;>;", "Lkotlin/jvm/functions/Function1<", "-TT;+TR;>;)", "Lkotlin/sequences/Sequence<", "TR;>;" } .end annotation const-string v0, "$this$mapNotNull" invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "transform" invoke-static {p1, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V new-instance v0, Ly/r/v; invoke-direct {v0, p0, p1}, Ly/r/v;->(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)V invoke-static {v0}, Ly/r/q;->filterNotNull(Lkotlin/sequences/Sequence;)Lkotlin/sequences/Sequence; move-result-object p0 return-object p0 .end method .method public static final plus(Lkotlin/sequences/Sequence;Lkotlin/sequences/Sequence;)Lkotlin/sequences/Sequence; .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lkotlin/sequences/Sequence<", "+TT;>;", "Lkotlin/sequences/Sequence<", "+TT;>;)", "Lkotlin/sequences/Sequence<", "TT;>;" } .end annotation const-string v0, "$this$plus" invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "elements" invoke-static {p1, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const/4 v0, 0x2 new-array v0, v0, [Lkotlin/sequences/Sequence; const/4 v1, 0x0 aput-object p0, v0, v1 const/4 p0, 0x1 aput-object p1, v0, p0 invoke-static {v0}, Lf/h/a/f/f/n/f;->sequenceOf([Ljava/lang/Object;)Lkotlin/sequences/Sequence; move-result-object p0 const-string p1, "$this$flatten" invoke-static {p0, p1}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V sget-object p1, Ly/r/l;->d:Ly/r/l; invoke-static {p0, p1}, Lf/h/a/f/f/n/f;->q(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Lkotlin/sequences/Sequence; move-result-object p0 return-object p0 .end method .method public static final sortedWith(Lkotlin/sequences/Sequence;Ljava/util/Comparator;)Lkotlin/sequences/Sequence; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lkotlin/sequences/Sequence<", "+TT;>;", "Ljava/util/Comparator<", "-TT;>;)", "Lkotlin/sequences/Sequence<", "TT;>;" } .end annotation const-string v0, "$this$sortedWith" invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "comparator" invoke-static {p1, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V new-instance v0, Ly/r/q$c; invoke-direct {v0, p0, p1}, Ly/r/q$c;->(Lkotlin/sequences/Sequence;Ljava/util/Comparator;)V return-object v0 .end method .method public static final take(Lkotlin/sequences/Sequence;I)Lkotlin/sequences/Sequence; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lkotlin/sequences/Sequence<", "+TT;>;I)", "Lkotlin/sequences/Sequence<", "TT;>;" } .end annotation const-string v0, "$this$take" invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V if-ltz p1, :cond_0 const/4 v0, 0x1 goto :goto_0 :cond_0 const/4 v0, 0x0 :goto_0 if-eqz v0, :cond_3 if-nez p1, :cond_1 sget-object p0, Ly/r/f;->a:Ly/r/f; goto :goto_1 :cond_1 instance-of v0, p0, Ly/r/e; if-eqz v0, :cond_2 check-cast p0, Ly/r/e; invoke-interface {p0, p1}, Ly/r/e;->take(I)Lkotlin/sequences/Sequence; move-result-object p0 goto :goto_1 :cond_2 new-instance v0, Ly/r/u; invoke-direct {v0, p0, p1}, Ly/r/u;->(Lkotlin/sequences/Sequence;I)V move-object p0, v0 :goto_1 return-object p0 :cond_3 const-string p0, "Requested element count " const-string v0, " is less than zero." invoke-static {p0, p1, v0}, Lf/e/c/a/a;->k(Ljava/lang/String;ILjava/lang/String;)Ljava/lang/String; move-result-object p0 new-instance p1, Ljava/lang/IllegalArgumentException; invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String; move-result-object p0 invoke-direct {p1, p0}, Ljava/lang/IllegalArgumentException;->(Ljava/lang/String;)V throw p1 .end method .method public static final toCollection(Lkotlin/sequences/Sequence;Ljava/util/Collection;)Ljava/util/Collection; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { ";>(", "Lkotlin/sequences/Sequence<", "+TT;>;TC;)TC;" } .end annotation const-string v0, "$this$toCollection" invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "destination" invoke-static {p1, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator; move-result-object p0 :goto_0 invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z move-result v0 if-eqz v0, :cond_0 invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object; move-result-object v0 invoke-interface {p1, v0}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z goto :goto_0 :cond_0 return-object p1 .end method .method public static final toList(Lkotlin/sequences/Sequence;)Ljava/util/List; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lkotlin/sequences/Sequence<", "+TT;>;)", "Ljava/util/List<", "TT;>;" } .end annotation const-string v0, "$this$toList" invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V invoke-static {p0}, Ly/r/q;->toMutableList(Lkotlin/sequences/Sequence;)Ljava/util/List; move-result-object p0 invoke-static {p0}, Ly/h/f;->optimizeReadOnlyList(Ljava/util/List;)Ljava/util/List; move-result-object p0 return-object p0 .end method .method public static final toMutableList(Lkotlin/sequences/Sequence;)Ljava/util/List; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lkotlin/sequences/Sequence<", "+TT;>;)", "Ljava/util/List<", "TT;>;" } .end annotation const-string v0, "$this$toMutableList" invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V new-instance v0, Ljava/util/ArrayList; invoke-direct {v0}, Ljava/util/ArrayList;->()V invoke-static {p0, v0}, Ly/r/q;->toCollection(Lkotlin/sequences/Sequence;Ljava/util/Collection;)Ljava/util/Collection; check-cast v0, Ljava/util/List; return-object v0 .end method