2019-12-18 09:41:56 +00:00
|
|
|
.class public final Lt/z/r;
|
2019-07-24 11:27:29 +00:00
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "Sequences.kt"
|
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Lkotlin/sequences/Sequence;
|
2019-12-18 09:41:56 +00:00
|
|
|
.implements Lt/z/d;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
"Lkotlin/sequences/Sequence<",
|
|
|
|
"TT;>;",
|
2019-12-18 09:41:56 +00:00
|
|
|
"Lt/z/d<",
|
2019-07-24 11:27:29 +00:00
|
|
|
"TT;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final a:Lkotlin/sequences/Sequence;
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Lkotlin/sequences/Sequence<",
|
|
|
|
"TT;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final b:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>(Lkotlin/sequences/Sequence;I)V
|
2019-12-12 08:58:10 +00:00
|
|
|
.locals 1
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Lkotlin/sequences/Sequence<",
|
|
|
|
"+TT;>;I)V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p1, :cond_2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
2019-12-18 09:41:56 +00:00
|
|
|
iput-object p1, p0, Lt/z/r;->a:Lkotlin/sequences/Sequence;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-18 09:41:56 +00:00
|
|
|
iput p2, p0, Lt/z/r;->b:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-18 09:41:56 +00:00
|
|
|
iget p1, p0, Lt/z/r;->b:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-ltz p1, :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
|
2019-12-06 03:29:40 +00:00
|
|
|
const-string p1, "count must be non-negative, but was "
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-static {p1}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-result-object p1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-18 09:41:56 +00:00
|
|
|
iget p2, p0, Lt/z/r;->b:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
const/16 v0, 0x2e
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-12 08:58:10 +00:00
|
|
|
invoke-static {p1, p2, v0}, Le/e/b/a/a;->a(Ljava/lang/StringBuilder;IC)Ljava/lang/String;
|
2019-07-24 11:27:29 +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
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_2
|
|
|
|
const-string p1, "sequence"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-18 09:41:56 +00:00
|
|
|
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 p1, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw p1
|
2019-07-24 11:27:29 +00:00
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public drop(I)Lkotlin/sequences/Sequence;
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 3
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(I)",
|
|
|
|
"Lkotlin/sequences/Sequence<",
|
|
|
|
"TT;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-12-18 09:41:56 +00:00
|
|
|
iget v0, p0, Lt/z/r;->b:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
if-lt p1, v0, :cond_0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-18 09:41:56 +00:00
|
|
|
sget-object p1, Lt/z/e;->a:Lt/z/e;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
goto :goto_0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
:cond_0
|
2019-12-18 09:41:56 +00:00
|
|
|
new-instance v1, Lt/z/q;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-18 09:41:56 +00:00
|
|
|
iget-object v2, p0, Lt/z/r;->a:Lkotlin/sequences/Sequence;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-18 09:41:56 +00:00
|
|
|
invoke-direct {v1, v2, p1, v0}, Lt/z/q;-><init>(Lkotlin/sequences/Sequence;II)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-object p1, v1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:goto_0
|
|
|
|
return-object p1
|
2019-07-24 11:27:29 +00:00
|
|
|
.end method
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public iterator()Ljava/util/Iterator;
|
2019-10-09 23:16:36 +00:00
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"()",
|
|
|
|
"Ljava/util/Iterator<",
|
|
|
|
"TT;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-12-18 09:41:56 +00:00
|
|
|
new-instance v0, Lt/z/r$a;
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-18 09:41:56 +00:00
|
|
|
invoke-direct {v0, p0}, Lt/z/r$a;-><init>(Lt/z/r;)V
|
2019-10-09 23:16:36 +00:00
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public take(I)Lkotlin/sequences/Sequence;
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 2
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(I)",
|
|
|
|
"Lkotlin/sequences/Sequence<",
|
|
|
|
"TT;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-12-18 09:41:56 +00:00
|
|
|
iget v0, p0, Lt/z/r;->b:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-lt p1, v0, :cond_0
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-object v0, p0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
goto :goto_0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
:cond_0
|
2019-12-18 09:41:56 +00:00
|
|
|
new-instance v0, Lt/z/r;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-18 09:41:56 +00:00
|
|
|
iget-object v1, p0, Lt/z/r;->a:Lkotlin/sequences/Sequence;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-18 09:41:56 +00:00
|
|
|
invoke-direct {v0, v1, p1}, Lt/z/r;-><init>(Lkotlin/sequences/Sequence;I)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:goto_0
|
2019-07-24 11:27:29 +00:00
|
|
|
return-object v0
|
|
|
|
.end method
|