.class public Lkotlin/sequences/n; .super Lkotlin/sequences/m; .source "_Sequences.kt" # direct methods .method public static final any(Lkotlin/sequences/Sequence;)Z .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lkotlin/sequences/Sequence<", "+TT;>;)Z" } .end annotation const-string v0, "$this$any" invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(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 p0 return p0 .end method .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}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V new-instance v0, Lkotlin/sequences/n$a; invoke-direct {v0, p0}, Lkotlin/sequences/n$a;->(Lkotlin/sequences/Sequence;)V check-cast v0, Ljava/lang/Iterable; return-object v0 .end method .method public static final distinct(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$distinct" invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V sget-object v0, Lkotlin/sequences/n$b;->biC:Lkotlin/sequences/n$b; check-cast v0, Lkotlin/jvm/functions/Function1; invoke-static {p0, v0}, Lkotlin/sequences/i;->distinctBy(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Lkotlin/sequences/Sequence; move-result-object p0 return-object p0 .end method .method public static final distinctBy(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;+TK;>;)", "Lkotlin/sequences/Sequence<", "TT;>;" } .end annotation const-string v0, "$this$distinctBy" invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "selector" invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V new-instance v0, Lkotlin/sequences/b; invoke-direct {v0, p0, p1}, Lkotlin/sequences/b;->(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)V check-cast v0, Lkotlin/sequences/Sequence; 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}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(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 return-object p0 :cond_1 instance-of v0, p0, Lkotlin/sequences/d; if-eqz v0, :cond_2 check-cast p0, Lkotlin/sequences/d; invoke-interface {p0, p1}, Lkotlin/sequences/d;->drop(I)Lkotlin/sequences/Sequence; move-result-object p0 return-object p0 :cond_2 new-instance v0, Lkotlin/sequences/c; invoke-direct {v0, p0, p1}, Lkotlin/sequences/c;->(Lkotlin/sequences/Sequence;I)V check-cast v0, Lkotlin/sequences/Sequence; return-object v0 :cond_3 new-instance p0, Ljava/lang/StringBuilder; const-string v0, "Requested element count " invoke-direct {p0, v0}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V invoke-virtual {p0, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; const-string p1, " is less than zero." invoke-virtual {p0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()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 check-cast p1, Ljava/lang/Throwable; 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}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "predicate" invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V new-instance v0, Lkotlin/sequences/f; const/4 v1, 0x1 invoke-direct {v0, p0, v1, p1}, Lkotlin/sequences/f;->(Lkotlin/sequences/Sequence;ZLkotlin/jvm/functions/Function1;)V check-cast v0, Lkotlin/sequences/Sequence; 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}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "predicate" invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V new-instance v0, Lkotlin/sequences/f; const/4 v1, 0x0 invoke-direct {v0, p0, v1, p1}, Lkotlin/sequences/f;->(Lkotlin/sequences/Sequence;ZLkotlin/jvm/functions/Function1;)V check-cast v0, Lkotlin/sequences/Sequence; 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}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V sget-object v0, Lkotlin/sequences/n$c;->biD:Lkotlin/sequences/n$c; check-cast v0, Lkotlin/jvm/functions/Function1; invoke-static {p0, v0}, Lkotlin/sequences/i;->filterNot(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Lkotlin/sequences/Sequence; move-result-object p0 if-eqz p0, :cond_0 return-object p0 :cond_0 new-instance p0, Lkotlin/r; const-string v0, "null cannot be cast to non-null type kotlin.sequences.Sequence" invoke-direct {p0, v0}, Lkotlin/r;->(Ljava/lang/String;)V throw 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}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(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 final joinTo(Lkotlin/sequences/Sequence;Ljava/lang/Appendable;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;ILjava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/Appendable; .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lkotlin/sequences/Sequence<", "+TT;>;TA;", "Ljava/lang/CharSequence;", "Ljava/lang/CharSequence;", "Ljava/lang/CharSequence;", "I", "Ljava/lang/CharSequence;", "Lkotlin/jvm/functions/Function1<", "-TT;+", "Ljava/lang/CharSequence;", ">;)TA;" } .end annotation const-string v0, "$this$joinTo" invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "buffer" invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "separator" invoke-static {p2, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "prefix" invoke-static {p3, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "postfix" invoke-static {p4, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "truncated" invoke-static {p6, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V invoke-interface {p1, p3}, Ljava/lang/Appendable;->append(Ljava/lang/CharSequence;)Ljava/lang/Appendable; invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator; move-result-object p0 const/4 p3, 0x0 :goto_0 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 add-int/lit8 p3, p3, 0x1 const/4 v1, 0x1 if-le p3, v1, :cond_0 invoke-interface {p1, p2}, Ljava/lang/Appendable;->append(Ljava/lang/CharSequence;)Ljava/lang/Appendable; :cond_0 if-ltz p5, :cond_1 if-gt p3, p5, :cond_2 :cond_1 invoke-static {p1, v0, p7}, Lkotlin/text/l;->appendElement(Ljava/lang/Appendable;Ljava/lang/Object;Lkotlin/jvm/functions/Function1;)V goto :goto_0 :cond_2 if-ltz p5, :cond_3 if-le p3, p5, :cond_3 invoke-interface {p1, p6}, Ljava/lang/Appendable;->append(Ljava/lang/CharSequence;)Ljava/lang/Appendable; :cond_3 invoke-interface {p1, p4}, Ljava/lang/Appendable;->append(Ljava/lang/CharSequence;)Ljava/lang/Appendable; return-object p1 .end method .method public static final joinToString(Lkotlin/sequences/Sequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;ILjava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/String; .locals 9 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lkotlin/sequences/Sequence<", "+TT;>;", "Ljava/lang/CharSequence;", "Ljava/lang/CharSequence;", "Ljava/lang/CharSequence;", "I", "Ljava/lang/CharSequence;", "Lkotlin/jvm/functions/Function1<", "-TT;+", "Ljava/lang/CharSequence;", ">;)", "Ljava/lang/String;" } .end annotation const-string v0, "$this$joinToString" invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "separator" invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "prefix" invoke-static {p2, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "postfix" invoke-static {p3, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "truncated" invoke-static {p5, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V new-instance v0, Ljava/lang/StringBuilder; invoke-direct {v0}, Ljava/lang/StringBuilder;->()V move-object v2, v0 check-cast v2, Ljava/lang/Appendable; move-object v1, p0 move-object v3, p1 move-object v4, p2 move-object v5, p3 move v6, p4 move-object v7, p5 move-object v8, p6 invoke-static/range {v1 .. v8}, Lkotlin/sequences/i;->joinTo(Lkotlin/sequences/Sequence;Ljava/lang/Appendable;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;ILjava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/Appendable; move-result-object p0 check-cast p0, Ljava/lang/StringBuilder; invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object p0 const-string p1, "joinTo(StringBuilder(), \u2026ed, transform).toString()" invoke-static {p0, p1}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V return-object p0 .end method .method public static synthetic joinToString$default(Lkotlin/sequences/Sequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;ILjava/lang/CharSequence;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)Ljava/lang/String; .locals 4 and-int/lit8 p8, p7, 0x1 if-eqz p8, :cond_0 const-string p1, ", " check-cast p1, Ljava/lang/CharSequence; :cond_0 and-int/lit8 p8, p7, 0x2 const-string v0, "" if-eqz p8, :cond_1 move-object p2, v0 check-cast p2, Ljava/lang/CharSequence; :cond_1 move-object p8, p2 and-int/lit8 p2, p7, 0x4 if-eqz p2, :cond_2 move-object p3, v0 check-cast p3, Ljava/lang/CharSequence; :cond_2 move-object v0, p3 and-int/lit8 p2, p7, 0x8 if-eqz p2, :cond_3 const/4 p4, -0x1 const/4 v1, -0x1 goto :goto_0 :cond_3 move v1, p4 :goto_0 and-int/lit8 p2, p7, 0x10 if-eqz p2, :cond_4 const-string p2, "..." move-object p5, p2 check-cast p5, Ljava/lang/CharSequence; :cond_4 move-object v2, p5 and-int/lit8 p2, p7, 0x20 if-eqz p2, :cond_5 const/4 p6, 0x0 :cond_5 move-object v3, p6 move-object p2, p0 move-object p3, p1 move-object p4, p8 move-object p5, v0 move p6, v1 move-object p7, v2 move-object p8, v3 invoke-static/range {p2 .. p8}, Lkotlin/sequences/i;->joinToString(Lkotlin/sequences/Sequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;ILjava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/String; move-result-object p0 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}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "transform" invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V new-instance v0, Lkotlin/sequences/q; invoke-direct {v0, p0, p1}, Lkotlin/sequences/q;->(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)V check-cast v0, Lkotlin/sequences/Sequence; 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}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "transform" invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V new-instance v0, Lkotlin/sequences/q; invoke-direct {v0, p0, p1}, Lkotlin/sequences/q;->(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)V check-cast v0, Lkotlin/sequences/Sequence; invoke-static {v0}, Lkotlin/sequences/i;->filterNotNull(Lkotlin/sequences/Sequence;)Lkotlin/sequences/Sequence; move-result-object p0 return-object p0 .end method .method public static final plus(Lkotlin/sequences/Sequence;Ljava/lang/Iterable;)Lkotlin/sequences/Sequence; .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lkotlin/sequences/Sequence<", "+TT;>;", "Ljava/lang/Iterable<", "+TT;>;)", "Lkotlin/sequences/Sequence<", "TT;>;" } .end annotation const-string v0, "$this$plus" invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "elements" invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(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 invoke-static {p1}, Lkotlin/a/m;->asSequence(Ljava/lang/Iterable;)Lkotlin/sequences/Sequence; move-result-object p0 const/4 p1, 0x1 aput-object p0, v0, p1 invoke-static {v0}, Lkotlin/sequences/i;->sequenceOf([Ljava/lang/Object;)Lkotlin/sequences/Sequence; move-result-object p0 invoke-static {p0}, Lkotlin/sequences/i;->flatten(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}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "elements" invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(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}, Lkotlin/sequences/i;->sequenceOf([Ljava/lang/Object;)Lkotlin/sequences/Sequence; move-result-object p0 invoke-static {p0}, Lkotlin/sequences/i;->flatten(Lkotlin/sequences/Sequence;)Lkotlin/sequences/Sequence; move-result-object p0 return-object p0 .end method .method public static final sorted(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$sorted" invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V new-instance v0, Lkotlin/sequences/n$d; invoke-direct {v0, p0}, Lkotlin/sequences/n$d;->(Lkotlin/sequences/Sequence;)V check-cast v0, Lkotlin/sequences/Sequence; return-object v0 .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}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "comparator" invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V new-instance v0, Lkotlin/sequences/n$e; invoke-direct {v0, p0, p1}, Lkotlin/sequences/n$e;->(Lkotlin/sequences/Sequence;Ljava/util/Comparator;)V check-cast v0, Lkotlin/sequences/Sequence; 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}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(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 invoke-static {}, Lkotlin/sequences/i;->emptySequence()Lkotlin/sequences/Sequence; move-result-object p0 return-object p0 :cond_1 instance-of v0, p0, Lkotlin/sequences/d; if-eqz v0, :cond_2 check-cast p0, Lkotlin/sequences/d; invoke-interface {p0, p1}, Lkotlin/sequences/d;->take(I)Lkotlin/sequences/Sequence; move-result-object p0 return-object p0 :cond_2 new-instance v0, Lkotlin/sequences/p; invoke-direct {v0, p0, p1}, Lkotlin/sequences/p;->(Lkotlin/sequences/Sequence;I)V check-cast v0, Lkotlin/sequences/Sequence; return-object v0 :cond_3 new-instance p0, Ljava/lang/StringBuilder; const-string v0, "Requested element count " invoke-direct {p0, v0}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V invoke-virtual {p0, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; const-string p1, " is less than zero." invoke-virtual {p0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()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 check-cast p1, Ljava/lang/Throwable; 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}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "destination" invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(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}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V invoke-static {p0}, Lkotlin/sequences/i;->toMutableList(Lkotlin/sequences/Sequence;)Ljava/util/List; move-result-object p0 invoke-static {p0}, Lkotlin/a/m;->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}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V new-instance v0, Ljava/util/ArrayList; invoke-direct {v0}, Ljava/util/ArrayList;->()V check-cast v0, Ljava/util/Collection; invoke-static {p0, v0}, Lkotlin/sequences/i;->toCollection(Lkotlin/sequences/Sequence;Ljava/util/Collection;)Ljava/util/Collection; move-result-object p0 check-cast p0, Ljava/util/List; return-object p0 .end method .method public static final toSet(Lkotlin/sequences/Sequence;)Ljava/util/Set; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lkotlin/sequences/Sequence<", "+TT;>;)", "Ljava/util/Set<", "TT;>;" } .end annotation const-string v0, "$this$toSet" invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V new-instance v0, Ljava/util/LinkedHashSet; invoke-direct {v0}, Ljava/util/LinkedHashSet;->()V check-cast v0, Ljava/util/Collection; invoke-static {p0, v0}, Lkotlin/sequences/i;->toCollection(Lkotlin/sequences/Sequence;Ljava/util/Collection;)Ljava/util/Collection; move-result-object p0 check-cast p0, Ljava/util/Set; invoke-static {p0}, Lkotlin/a/ak;->optimizeReadOnlySet(Ljava/util/Set;)Ljava/util/Set; move-result-object p0 return-object p0 .end method