mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2025-01-09 13:43:22 +00:00
240 lines
6.7 KiB
Smali
240 lines
6.7 KiB
Smali
.class public final Lkotlin/sequences/TakeSequence;
|
|
.super Ljava/lang/Object;
|
|
.source "Sequences.kt"
|
|
|
|
# interfaces
|
|
.implements Lkotlin/sequences/Sequence;
|
|
.implements Lkotlin/sequences/DropTakeSequence;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">",
|
|
"Ljava/lang/Object;",
|
|
"Lkotlin/sequences/Sequence<",
|
|
"TT;>;",
|
|
"Lkotlin/sequences/DropTakeSequence<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/SourceDebugExtension;
|
|
value = "SMAP\nSequences.kt\nKotlin\n*S Kotlin\n*F\n+ 1 Sequences.kt\nkotlin/sequences/TakeSequence\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,680:1\n1#2:681\n*E\n"
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/Metadata;
|
|
d1 = {
|
|
"\u0000\"\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0010\u0008\n\u0002\u0008\u0004\n\u0002\u0010(\n\u0002\u0008\u0002\u0008\u0000\u0018\u0000*\u0004\u0008\u0000\u0010\u00012\u0008\u0012\u0004\u0012\u0002H\u00010\u00022\u0008\u0012\u0004\u0012\u0002H\u00010\u0003B\u001b\u0012\u000c\u0010\u0004\u001a\u0008\u0012\u0004\u0012\u00028\u00000\u0002\u0012\u0006\u0010\u0005\u001a\u00020\u0006\u00a2\u0006\u0002\u0010\u0007J\u0016\u0010\u0008\u001a\u0008\u0012\u0004\u0012\u00028\u00000\u00022\u0006\u0010\t\u001a\u00020\u0006H\u0016J\u000f\u0010\n\u001a\u0008\u0012\u0004\u0012\u00028\u00000\u000bH\u0096\u0002J\u0016\u0010\u000c\u001a\u0008\u0012\u0004\u0012\u00028\u00000\u00022\u0006\u0010\t\u001a\u00020\u0006H\u0016R\u000e\u0010\u0005\u001a\u00020\u0006X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u0014\u0010\u0004\u001a\u0008\u0012\u0004\u0012\u00028\u00000\u0002X\u0082\u0004\u00a2\u0006\u0002\n\u0000\u00a8\u0006\r"
|
|
}
|
|
d2 = {
|
|
"Lkotlin/sequences/TakeSequence;",
|
|
"T",
|
|
"Lkotlin/sequences/Sequence;",
|
|
"Lkotlin/sequences/DropTakeSequence;",
|
|
"sequence",
|
|
"count",
|
|
"",
|
|
"(Lkotlin/sequences/Sequence;I)V",
|
|
"drop",
|
|
"n",
|
|
"iterator",
|
|
"",
|
|
"take",
|
|
"kotlin-stdlib"
|
|
}
|
|
k = 0x1
|
|
mv = {
|
|
0x1,
|
|
0x9,
|
|
0x0
|
|
}
|
|
xi = 0x30
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private final count:I
|
|
|
|
.field private final sequence:Lkotlin/sequences/Sequence;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lkotlin/sequences/Sequence<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lkotlin/sequences/Sequence;I)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lkotlin/sequences/Sequence<",
|
|
"+TT;>;I)V"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "sequence"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 397
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Lkotlin/sequences/TakeSequence;->sequence:Lkotlin/sequences/Sequence;
|
|
|
|
iput p2, p0, Lkotlin/sequences/TakeSequence;->count:I
|
|
|
|
if-ltz p2, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 403
|
|
:cond_0
|
|
new-instance p0, Ljava/lang/StringBuilder;
|
|
|
|
const-string p1, "count must be non-negative, but was "
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p0, p2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p0
|
|
|
|
const/16 p1, 0x2e
|
|
|
|
invoke-virtual {p0, p1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p0
|
|
|
|
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;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public static final synthetic access$getCount$p(Lkotlin/sequences/TakeSequence;)I
|
|
.locals 0
|
|
|
|
.line 397
|
|
iget p0, p0, Lkotlin/sequences/TakeSequence;->count:I
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final synthetic access$getSequence$p(Lkotlin/sequences/TakeSequence;)Lkotlin/sequences/Sequence;
|
|
.locals 0
|
|
|
|
.line 397
|
|
iget-object p0, p0, Lkotlin/sequences/TakeSequence;->sequence:Lkotlin/sequences/Sequence;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public drop(I)Lkotlin/sequences/Sequence;
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(I)",
|
|
"Lkotlin/sequences/Sequence<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
iget v0, p0, Lkotlin/sequences/TakeSequence;->count:I
|
|
|
|
if-lt p1, v0, :cond_0
|
|
|
|
.line 406
|
|
invoke-static {}, Lkotlin/sequences/SequencesKt;->emptySequence()Lkotlin/sequences/Sequence;
|
|
|
|
move-result-object p0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
new-instance v0, Lkotlin/sequences/SubSequence;
|
|
|
|
iget-object v1, p0, Lkotlin/sequences/TakeSequence;->sequence:Lkotlin/sequences/Sequence;
|
|
|
|
iget p0, p0, Lkotlin/sequences/TakeSequence;->count:I
|
|
|
|
invoke-direct {v0, v1, p1, p0}, Lkotlin/sequences/SubSequence;-><init>(Lkotlin/sequences/Sequence;II)V
|
|
|
|
move-object p0, v0
|
|
|
|
check-cast p0, Lkotlin/sequences/Sequence;
|
|
|
|
:goto_0
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public iterator()Ljava/util/Iterator;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/util/Iterator<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 409
|
|
new-instance v0, Lkotlin/sequences/TakeSequence$iterator$1;
|
|
|
|
invoke-direct {v0, p0}, Lkotlin/sequences/TakeSequence$iterator$1;-><init>(Lkotlin/sequences/TakeSequence;)V
|
|
|
|
check-cast v0, Ljava/util/Iterator;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public take(I)Lkotlin/sequences/Sequence;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(I)",
|
|
"Lkotlin/sequences/Sequence<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
iget v0, p0, Lkotlin/sequences/TakeSequence;->count:I
|
|
|
|
if-lt p1, v0, :cond_0
|
|
|
|
.line 407
|
|
check-cast p0, Lkotlin/sequences/Sequence;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
new-instance v0, Lkotlin/sequences/TakeSequence;
|
|
|
|
iget-object p0, p0, Lkotlin/sequences/TakeSequence;->sequence:Lkotlin/sequences/Sequence;
|
|
|
|
invoke-direct {v0, p0, p1}, Lkotlin/sequences/TakeSequence;-><init>(Lkotlin/sequences/Sequence;I)V
|
|
|
|
move-object p0, v0
|
|
|
|
check-cast p0, Lkotlin/sequences/Sequence;
|
|
|
|
:goto_0
|
|
return-object p0
|
|
.end method
|