Rabbit-R1/switch port/smali/smali_classes3/kotlin/streams/jdk8/StreamsKt.smali
2024-05-21 17:08:36 -04:00

350 lines
11 KiB
Smali

.class public final Lkotlin/streams/jdk8/StreamsKt;
.super Ljava/lang/Object;
.source "Streams.kt"
# annotations
.annotation runtime Lkotlin/Metadata;
d1 = {
"\u0000.\n\u0000\n\u0002\u0018\u0002\n\u0002\u0010\u0006\n\u0002\u0018\u0002\n\u0002\u0010\u0008\n\u0002\u0018\u0002\n\u0002\u0010\t\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0010 \n\u0000\u001a\u0012\u0010\u0000\u001a\u0008\u0012\u0004\u0012\u00020\u00020\u0001*\u00020\u0003H\u0007\u001a\u0012\u0010\u0000\u001a\u0008\u0012\u0004\u0012\u00020\u00040\u0001*\u00020\u0005H\u0007\u001a\u0012\u0010\u0000\u001a\u0008\u0012\u0004\u0012\u00020\u00060\u0001*\u00020\u0007H\u0007\u001a\u001e\u0010\u0000\u001a\u0008\u0012\u0004\u0012\u0002H\u00080\u0001\"\u0004\u0008\u0000\u0010\u0008*\u0008\u0012\u0004\u0012\u0002H\u00080\tH\u0007\u001a\u001e\u0010\n\u001a\u0008\u0012\u0004\u0012\u0002H\u00080\t\"\u0004\u0008\u0000\u0010\u0008*\u0008\u0012\u0004\u0012\u0002H\u00080\u0001H\u0007\u001a\u0012\u0010\u000b\u001a\u0008\u0012\u0004\u0012\u00020\u00020\u000c*\u00020\u0003H\u0007\u001a\u0012\u0010\u000b\u001a\u0008\u0012\u0004\u0012\u00020\u00040\u000c*\u00020\u0005H\u0007\u001a\u0012\u0010\u000b\u001a\u0008\u0012\u0004\u0012\u00020\u00060\u000c*\u00020\u0007H\u0007\u001a\u001e\u0010\u000b\u001a\u0008\u0012\u0004\u0012\u0002H\u00080\u000c\"\u0004\u0008\u0000\u0010\u0008*\u0008\u0012\u0004\u0012\u0002H\u00080\tH\u0007\u00a8\u0006\r"
}
d2 = {
"asSequence",
"Lkotlin/sequences/Sequence;",
"",
"Ljava/util/stream/DoubleStream;",
"",
"Ljava/util/stream/IntStream;",
"",
"Ljava/util/stream/LongStream;",
"T",
"Ljava/util/stream/Stream;",
"asStream",
"toList",
"",
"kotlin-stdlib-jdk8"
}
k = 0x2
mv = {
0x1,
0x9,
0x0
}
pn = "kotlin.streams"
xi = 0x30
.end annotation
# direct methods
.method public static synthetic $r8$lambda$D6rJ2g9z2pCQAEMFkqgtKPOz0JA(Lkotlin/sequences/Sequence;)Ljava/util/Spliterator;
.locals 0
invoke-static {p0}, Lkotlin/streams/jdk8/StreamsKt;->asStream$lambda$4(Lkotlin/sequences/Sequence;)Ljava/util/Spliterator;
move-result-object p0
return-object p0
.end method
.method public static final asSequence(Ljava/util/stream/DoubleStream;)Lkotlin/sequences/Sequence;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/stream/DoubleStream;",
")",
"Lkotlin/sequences/Sequence<",
"Ljava/lang/Double;",
">;"
}
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 55
new-instance v0, Lkotlin/streams/jdk8/StreamsKt$asSequence$$inlined$Sequence$4;
invoke-direct {v0, p0}, Lkotlin/streams/jdk8/StreamsKt$asSequence$$inlined$Sequence$4;-><init>(Ljava/util/stream/DoubleStream;)V
check-cast v0, Lkotlin/sequences/Sequence;
return-object v0
.end method
.method public static final asSequence(Ljava/util/stream/IntStream;)Lkotlin/sequences/Sequence;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/stream/IntStream;",
")",
"Lkotlin/sequences/Sequence<",
"Ljava/lang/Integer;",
">;"
}
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 39
new-instance v0, Lkotlin/streams/jdk8/StreamsKt$asSequence$$inlined$Sequence$2;
invoke-direct {v0, p0}, Lkotlin/streams/jdk8/StreamsKt$asSequence$$inlined$Sequence$2;-><init>(Ljava/util/stream/IntStream;)V
check-cast v0, Lkotlin/sequences/Sequence;
return-object v0
.end method
.method public static final asSequence(Ljava/util/stream/LongStream;)Lkotlin/sequences/Sequence;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/stream/LongStream;",
")",
"Lkotlin/sequences/Sequence<",
"Ljava/lang/Long;",
">;"
}
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 47
new-instance v0, Lkotlin/streams/jdk8/StreamsKt$asSequence$$inlined$Sequence$3;
invoke-direct {v0, p0}, Lkotlin/streams/jdk8/StreamsKt$asSequence$$inlined$Sequence$3;-><init>(Ljava/util/stream/LongStream;)V
check-cast v0, Lkotlin/sequences/Sequence;
return-object v0
.end method
.method public static final asSequence(Ljava/util/stream/Stream;)Lkotlin/sequences/Sequence;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/util/stream/Stream<",
"TT;>;)",
"Lkotlin/sequences/Sequence<",
"TT;>;"
}
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 31
new-instance v0, Lkotlin/streams/jdk8/StreamsKt$asSequence$$inlined$Sequence$1;
invoke-direct {v0, p0}, Lkotlin/streams/jdk8/StreamsKt$asSequence$$inlined$Sequence$1;-><init>(Ljava/util/stream/Stream;)V
check-cast v0, Lkotlin/sequences/Sequence;
return-object v0
.end method
.method public static final asStream(Lkotlin/sequences/Sequence;)Ljava/util/stream/Stream;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Lkotlin/sequences/Sequence<",
"+TT;>;)",
"Ljava/util/stream/Stream<",
"TT;>;"
}
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 64
new-instance v0, Lkotlin/streams/jdk8/StreamsKt$$ExternalSyntheticLambda0;
invoke-direct {v0, p0}, Lkotlin/streams/jdk8/StreamsKt$$ExternalSyntheticLambda0;-><init>(Lkotlin/sequences/Sequence;)V
const/16 p0, 0x10
const/4 v1, 0x0
invoke-static {v0, p0, v1}, Ljava/util/stream/StreamSupport;->stream(Ljava/util/function/Supplier;IZ)Ljava/util/stream/Stream;
move-result-object p0
const-string v0, "stream(...)"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
return-object p0
.end method
.method private static final asStream$lambda$4(Lkotlin/sequences/Sequence;)Ljava/util/Spliterator;
.locals 1
const-string v0, "$this_asStream"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 64
invoke-interface {p0}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
move-result-object p0
const/16 v0, 0x10
invoke-static {p0, v0}, Ljava/util/Spliterators;->spliteratorUnknownSize(Ljava/util/Iterator;I)Ljava/util/Spliterator;
move-result-object p0
return-object p0
.end method
.method public static final toList(Ljava/util/stream/DoubleStream;)Ljava/util/List;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/stream/DoubleStream;",
")",
"Ljava/util/List<",
"Ljava/lang/Double;",
">;"
}
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 96
invoke-interface {p0}, Ljava/util/stream/DoubleStream;->toArray()[D
move-result-object p0
const-string v0, "toArray(...)"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
invoke-static {p0}, Lkotlin/collections/ArraysKt;->asList([D)Ljava/util/List;
move-result-object p0
return-object p0
.end method
.method public static final toList(Ljava/util/stream/IntStream;)Ljava/util/List;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/stream/IntStream;",
")",
"Ljava/util/List<",
"Ljava/lang/Integer;",
">;"
}
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 80
invoke-interface {p0}, Ljava/util/stream/IntStream;->toArray()[I
move-result-object p0
const-string v0, "toArray(...)"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
invoke-static {p0}, Lkotlin/collections/ArraysKt;->asList([I)Ljava/util/List;
move-result-object p0
return-object p0
.end method
.method public static final toList(Ljava/util/stream/LongStream;)Ljava/util/List;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/stream/LongStream;",
")",
"Ljava/util/List<",
"Ljava/lang/Long;",
">;"
}
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 88
invoke-interface {p0}, Ljava/util/stream/LongStream;->toArray()[J
move-result-object p0
const-string v0, "toArray(...)"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
invoke-static {p0}, Lkotlin/collections/ArraysKt;->asList([J)Ljava/util/List;
move-result-object p0
return-object p0
.end method
.method public static final toList(Ljava/util/stream/Stream;)Ljava/util/List;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/util/stream/Stream<",
"TT;>;)",
"Ljava/util/List<",
"TT;>;"
}
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 72
invoke-static {}, Ljava/util/stream/Collectors;->toList()Ljava/util/stream/Collector;
move-result-object v0
invoke-interface {p0, v0}, Ljava/util/stream/Stream;->collect(Ljava/util/stream/Collector;)Ljava/lang/Object;
move-result-object p0
const-string v0, "collect(...)"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
check-cast p0, Ljava/util/List;
return-object p0
.end method