2020-11-16 01:00:50 +00:00
|
|
|
.class public final Lz/s/d;
|
2020-11-12 02:11:44 +00:00
|
|
|
.super Ljava/lang/Object;
|
2020-11-13 19:18:44 +00:00
|
|
|
.source "Sequences.kt"
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
# interfaces
|
2020-11-13 19:18:44 +00:00
|
|
|
.implements Lkotlin/sequences/Sequence;
|
2020-11-16 01:00:50 +00:00
|
|
|
.implements Lz/s/e;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">",
|
|
|
|
"Ljava/lang/Object;",
|
2020-11-13 19:18:44 +00:00
|
|
|
"Lkotlin/sequences/Sequence<",
|
|
|
|
"TT;>;",
|
2020-11-16 01:00:50 +00:00
|
|
|
"Lz/s/e<",
|
2020-11-13 19:18:44 +00:00
|
|
|
"TT;>;"
|
2020-11-12 02:11:44 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
2020-11-13 19:18:44 +00:00
|
|
|
# instance fields
|
|
|
|
.field public final a:Lkotlin/sequences/Sequence;
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Lkotlin/sequences/Sequence<",
|
|
|
|
"TT;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
|
|
|
.field public final b:I
|
|
|
|
|
|
|
|
|
|
|
|
# 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"
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
invoke-static {p1, v0}, Lz/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
iput-object p1, p0, Lz/s/d;->a:Lkotlin/sequences/Sequence;
|
2020-11-13 19:18:44 +00:00
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
iput p2, p0, Lz/s/d;->b:I
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
if-ltz p2, :cond_0
|
|
|
|
|
|
|
|
const/4 p1, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_1
|
2020-11-16 01:00:50 +00:00
|
|
|
const-string p1, "count must be non-negative, but was "
|
2020-11-13 19:18:44 +00:00
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
invoke-static {p1}, Lf/e/c/a/a;->E(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
2020-11-13 19:18:44 +00:00
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
move-result-object p1
|
2020-11-13 19:18:44 +00:00
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
iget p2, p0, Lz/s/d;->b:I
|
2020-11-13 19:18:44 +00:00
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
const/16 v0, 0x2e
|
2020-11-13 19:18:44 +00:00
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
invoke-static {p1, p2, v0}, Lf/e/c/a/a;->s(Ljava/lang/StringBuilder;IC)Ljava/lang/String;
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
new-instance p2, Ljava/lang/IllegalArgumentException;
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-direct {p2, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw p2
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
2020-11-12 02:11:44 +00:00
|
|
|
# virtual methods
|
2020-11-13 19:18:44 +00:00
|
|
|
.method public drop(I)Lkotlin/sequences/Sequence;
|
|
|
|
.locals 2
|
2020-11-12 02:11:44 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2020-11-13 19:18:44 +00:00
|
|
|
"(I)",
|
|
|
|
"Lkotlin/sequences/Sequence<",
|
|
|
|
"TT;>;"
|
2020-11-12 02:11:44 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
2020-11-13 19:18:44 +00:00
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
iget v0, p0, Lz/s/d;->b:I
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
add-int/2addr v0, p1
|
|
|
|
|
|
|
|
if-gez v0, :cond_0
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
new-instance v0, Lz/s/d;
|
2020-11-13 19:18:44 +00:00
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
invoke-direct {v0, p0, p1}, Lz/s/d;-><init>(Lkotlin/sequences/Sequence;I)V
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
2020-11-16 01:00:50 +00:00
|
|
|
new-instance p1, Lz/s/d;
|
2020-11-13 19:18:44 +00:00
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
iget-object v1, p0, Lz/s/d;->a:Lkotlin/sequences/Sequence;
|
2020-11-13 19:18:44 +00:00
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
invoke-direct {p1, v1, v0}, Lz/s/d;-><init>(Lkotlin/sequences/Sequence;I)V
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
move-object v0, p1
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
return-object v0
|
2020-11-12 02:11:44 +00:00
|
|
|
.end method
|
|
|
|
|
2020-11-13 19:18:44 +00:00
|
|
|
.method public iterator()Ljava/util/Iterator;
|
|
|
|
.locals 1
|
2020-11-12 02:11:44 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"()",
|
2020-11-13 19:18:44 +00:00
|
|
|
"Ljava/util/Iterator<",
|
|
|
|
"TT;>;"
|
2020-11-12 02:11:44 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
2020-11-13 19:18:44 +00:00
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
new-instance v0, Lz/s/d$a;
|
2020-11-13 19:18:44 +00:00
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
invoke-direct {v0, p0}, Lz/s/d$a;-><init>(Lz/s/d;)V
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public take(I)Lkotlin/sequences/Sequence;
|
|
|
|
.locals 3
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(I)",
|
|
|
|
"Lkotlin/sequences/Sequence<",
|
|
|
|
"TT;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
iget v0, p0, Lz/s/d;->b:I
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
add-int v1, v0, p1
|
|
|
|
|
|
|
|
if-gez v1, :cond_0
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
new-instance v0, Lz/s/t;
|
2020-11-13 19:18:44 +00:00
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
invoke-direct {v0, p0, p1}, Lz/s/t;-><init>(Lkotlin/sequences/Sequence;I)V
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
2020-11-16 01:00:50 +00:00
|
|
|
new-instance p1, Lz/s/s;
|
2020-11-13 19:18:44 +00:00
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
iget-object v2, p0, Lz/s/d;->a:Lkotlin/sequences/Sequence;
|
2020-11-13 19:18:44 +00:00
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
invoke-direct {p1, v2, v0, v1}, Lz/s/s;-><init>(Lkotlin/sequences/Sequence;II)V
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
move-object v0, p1
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
return-object v0
|
2020-11-12 02:11:44 +00:00
|
|
|
.end method
|