apkfuckery/com.discord/smali_classes2/y/r/b.smali

134 lines
3 KiB
Smali
Raw Normal View History

2020-11-16 22:05:17 +00:00
.class public final Ly/r/b;
.super Ly/h/b;
2020-11-13 19:18:44 +00:00
.source "Sequences.kt"
2020-11-12 02:11:44 +00:00
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
2020-11-13 19:18:44 +00:00
"K:",
2020-11-12 02:11:44 +00:00
"Ljava/lang/Object;",
2020-11-13 19:18:44 +00:00
">",
2020-11-16 22:05:17 +00:00
"Ly/h/b<",
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 f:Ljava/util/HashSet;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/HashSet<",
"TK;>;"
}
.end annotation
.end field
.field public final g:Ljava/util/Iterator;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Iterator<",
"TT;>;"
}
.end annotation
.end field
.field public final h: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>(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"
2020-11-16 22:05:17 +00:00
invoke-static {p1, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-13 19:18:44 +00:00
const-string v0, "keySelector"
2020-11-16 22:05:17 +00:00
invoke-static {p2, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-13 19:18:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-direct {p0}, Ly/h/b;-><init>()V
2020-11-13 19:18:44 +00:00
2020-11-16 22:05:17 +00:00
iput-object p1, p0, Ly/r/b;->g:Ljava/util/Iterator;
2020-11-13 19:18:44 +00:00
2020-11-16 22:05:17 +00:00
iput-object p2, p0, Ly/r/b;->h:Lkotlin/jvm/functions/Function1;
2020-11-13 19:18:44 +00:00
new-instance p1, Ljava/util/HashSet;
invoke-direct {p1}, Ljava/util/HashSet;-><init>()V
2020-11-16 22:05:17 +00:00
iput-object p1, p0, Ly/r/b;->f:Ljava/util/HashSet;
2020-11-13 19:18:44 +00:00
return-void
.end method
# virtual methods
.method public a()V
.locals 3
:cond_0
2020-11-16 22:05:17 +00:00
iget-object v0, p0, Ly/r/b;->g:Ljava/util/Iterator;
2020-11-13 19:18:44 +00:00
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v0
if-eqz v0, :cond_1
2020-11-16 22:05:17 +00:00
iget-object v0, p0, Ly/r/b;->g:Ljava/util/Iterator;
2020-11-13 19:18:44 +00:00
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v0
2020-11-16 22:05:17 +00:00
iget-object v1, p0, Ly/r/b;->h:Lkotlin/jvm/functions/Function1;
2020-11-13 19:18:44 +00:00
invoke-interface {v1, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v1
2020-11-16 22:05:17 +00:00
iget-object v2, p0, Ly/r/b;->f:Ljava/util/HashSet;
2020-11-13 19:18:44 +00:00
invoke-virtual {v2, v1}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_0
2020-11-16 22:05:17 +00:00
iput-object v0, p0, Ly/h/b;->e:Ljava/lang/Object;
2020-11-13 19:18:44 +00:00
2020-11-16 22:05:17 +00:00
sget-object v0, Ly/h/s;->d:Ly/h/s;
2020-11-13 19:18:44 +00:00
2020-11-16 22:05:17 +00:00
iput-object v0, p0, Ly/h/b;->d:Ly/h/s;
2020-11-13 19:18:44 +00:00
return-void
:cond_1
2020-11-16 22:05:17 +00:00
sget-object v0, Ly/h/s;->f:Ly/h/s;
2020-11-13 19:18:44 +00:00
2020-11-16 22:05:17 +00:00
iput-object v0, p0, Ly/h/b;->d:Ly/h/s;
2020-11-13 19:18:44 +00:00
return-void
.end method