146 lines
3 KiB
Smali
146 lines
3 KiB
Smali
|
.class public final Ly/a0/a;
|
||
|
.super Ly/q/c;
|
||
|
.source "Sequences.kt"
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"K:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">",
|
||
|
"Ly/q/c<",
|
||
|
"TT;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# 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/4 v0, 0x0
|
||
|
|
||
|
if-eqz p1, :cond_1
|
||
|
|
||
|
if-eqz p2, :cond_0
|
||
|
|
||
|
invoke-direct {p0}, Ly/q/c;-><init>()V
|
||
|
|
||
|
iput-object p1, p0, Ly/a0/a;->g:Ljava/util/Iterator;
|
||
|
|
||
|
iput-object p2, p0, Ly/a0/a;->h:Lkotlin/jvm/functions/Function1;
|
||
|
|
||
|
new-instance p1, Ljava/util/HashSet;
|
||
|
|
||
|
invoke-direct {p1}, Ljava/util/HashSet;-><init>()V
|
||
|
|
||
|
iput-object p1, p0, Ly/a0/a;->f:Ljava/util/HashSet;
|
||
|
|
||
|
return-void
|
||
|
|
||
|
:cond_0
|
||
|
const-string p1, "keySelector"
|
||
|
|
||
|
invoke-static {p1}, Ly/v/b/j;->a(Ljava/lang/String;)V
|
||
|
|
||
|
throw v0
|
||
|
|
||
|
:cond_1
|
||
|
const-string p1, "source"
|
||
|
|
||
|
invoke-static {p1}, Ly/v/b/j;->a(Ljava/lang/String;)V
|
||
|
|
||
|
throw v0
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public a()V
|
||
|
.locals 3
|
||
|
|
||
|
:cond_0
|
||
|
iget-object v0, p0, Ly/a0/a;->g:Ljava/util/Iterator;
|
||
|
|
||
|
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_1
|
||
|
|
||
|
iget-object v0, p0, Ly/a0/a;->g:Ljava/util/Iterator;
|
||
|
|
||
|
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
iget-object v1, p0, Ly/a0/a;->h:Lkotlin/jvm/functions/Function1;
|
||
|
|
||
|
invoke-interface {v1, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
iget-object v2, p0, Ly/a0/a;->f:Ljava/util/HashSet;
|
||
|
|
||
|
invoke-virtual {v2, v1}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_0
|
||
|
|
||
|
iput-object v0, p0, Ly/q/c;->e:Ljava/lang/Object;
|
||
|
|
||
|
sget-object v0, Ly/q/w;->d:Ly/q/w;
|
||
|
|
||
|
iput-object v0, p0, Ly/q/c;->d:Ly/q/w;
|
||
|
|
||
|
return-void
|
||
|
|
||
|
:cond_1
|
||
|
sget-object v0, Ly/q/w;->f:Ly/q/w;
|
||
|
|
||
|
iput-object v0, p0, Ly/q/c;->d:Ly/q/w;
|
||
|
|
||
|
return-void
|
||
|
.end method
|