apkfuckery/com.discord/smali_classes2/kotlin/sequences/a.smali

128 lines
3 KiB
Smali
Raw Normal View History

2019-07-24 11:27:29 +00:00
.class final Lkotlin/sequences/a;
.super Lkotlin/a/b;
.source "Sequences.kt"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"K:",
"Ljava/lang/Object;",
">",
"Lkotlin/a/b<",
"TT;>;"
}
.end annotation
# instance fields
2019-10-10 02:17:24 +00:00
.field private final big:Ljava/util/HashSet;
2019-07-24 11:27:29 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/HashSet<",
"TK;>;"
}
.end annotation
.end field
2019-10-10 02:17:24 +00:00
.field private final bih:Ljava/util/Iterator;
2019-07-24 11:27:29 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Iterator<",
"TT;>;"
}
.end annotation
.end field
2019-10-10 02:17:24 +00:00
.field private final bii:Lkotlin/jvm/functions/Function1;
2019-07-24 11:27:29 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"Lkotlin/jvm/functions/Function1<",
"TT;TK;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Ljava/util/Iterator;Lkotlin/jvm/functions/Function1;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Iterator<",
"+TT;>;",
"Lkotlin/jvm/functions/Function1<",
"-TT;+TK;>;)V"
}
.end annotation
const-string v0, "source"
2019-10-09 23:16:36 +00:00
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
const-string v0, "keySelector"
2019-10-09 23:16:36 +00:00
invoke-static {p2, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
invoke-direct {p0}, Lkotlin/a/b;-><init>()V
2019-10-10 02:17:24 +00:00
iput-object p1, p0, Lkotlin/sequences/a;->bih:Ljava/util/Iterator;
2019-07-24 11:27:29 +00:00
2019-10-10 02:17:24 +00:00
iput-object p2, p0, Lkotlin/sequences/a;->bii:Lkotlin/jvm/functions/Function1;
2019-07-24 11:27:29 +00:00
new-instance p1, Ljava/util/HashSet;
invoke-direct {p1}, Ljava/util/HashSet;-><init>()V
2019-10-10 02:17:24 +00:00
iput-object p1, p0, Lkotlin/sequences/a;->big:Ljava/util/HashSet;
2019-07-24 11:27:29 +00:00
return-void
.end method
# virtual methods
2019-10-09 23:16:36 +00:00
.method public final computeNext()V
2019-07-24 11:27:29 +00:00
.locals 3
:cond_0
2019-10-10 02:17:24 +00:00
iget-object v0, p0, Lkotlin/sequences/a;->bih:Ljava/util/Iterator;
2019-07-24 11:27:29 +00:00
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v0
if-eqz v0, :cond_1
2019-10-10 02:17:24 +00:00
iget-object v0, p0, Lkotlin/sequences/a;->bih:Ljava/util/Iterator;
2019-07-24 11:27:29 +00:00
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v0
2019-10-10 02:17:24 +00:00
iget-object v1, p0, Lkotlin/sequences/a;->bii:Lkotlin/jvm/functions/Function1;
2019-07-24 11:27:29 +00:00
invoke-interface {v1, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v1
2019-10-10 02:17:24 +00:00
iget-object v2, p0, Lkotlin/sequences/a;->big:Ljava/util/HashSet;
2019-07-24 11:27:29 +00:00
invoke-virtual {v2, v1}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_0
2019-10-09 23:16:36 +00:00
invoke-virtual {p0, v0}, Lkotlin/sequences/a;->aO(Ljava/lang/Object;)V
2019-07-24 11:27:29 +00:00
return-void
:cond_1
2019-10-09 23:16:36 +00:00
invoke-virtual {p0}, Lkotlin/sequences/a;->done()V
2019-07-24 11:27:29 +00:00
return-void
.end method