apkfuckery/com.discord/smali_classes2/y/z/b.smali
2020-03-27 23:23:51 +01:00

111 lines
2.4 KiB
Smali

.class public final Ly/z/b;
.super Ljava/lang/Object;
.source "Sequences.kt"
# interfaces
.implements Lkotlin/sequences/Sequence;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"K:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lkotlin/sequences/Sequence<",
"TT;>;"
}
.end annotation
# 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:Lkotlin/jvm/functions/Function1;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lkotlin/jvm/functions/Function1<",
"TT;TK;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lkotlin/sequences/Sequence<",
"+TT;>;",
"Lkotlin/jvm/functions/Function1<",
"-TT;+TK;>;)V"
}
.end annotation
const/4 v0, 0x0
if-eqz p1, :cond_1
if-eqz p2, :cond_0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Ly/z/b;->a:Lkotlin/sequences/Sequence;
iput-object p2, p0, Ly/z/b;->b:Lkotlin/jvm/functions/Function1;
return-void
:cond_0
const-string p1, "keySelector"
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
throw v0
:cond_1
const-string p1, "source"
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
throw v0
.end method
# virtual methods
.method public iterator()Ljava/util/Iterator;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Iterator<",
"TT;>;"
}
.end annotation
new-instance v0, Ly/z/a;
iget-object v1, p0, Ly/z/b;->a:Lkotlin/sequences/Sequence;
invoke-interface {v1}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
move-result-object v1
iget-object v2, p0, Ly/z/b;->b:Lkotlin/jvm/functions/Function1;
invoke-direct {v0, v1, v2}, Ly/z/a;-><init>(Ljava/util/Iterator;Lkotlin/jvm/functions/Function1;)V
return-object v0
.end method