2022-06-10 21:38:30 +09:00

168 lines
4.0 KiB
Smali

.class public final Lio/reactivex/internal/operators/observable/y1;
.super Lkh/z;
.source "ObservableZipIterable.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lio/reactivex/internal/operators/observable/y1$a;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"U:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">",
"Lkh/z<",
"TV;>;"
}
.end annotation
# instance fields
.field public final a:Lkh/z;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lkh/z<",
"+TT;>;"
}
.end annotation
.end field
.field public final b:Ljava/lang/Iterable;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Iterable<",
"TU;>;"
}
.end annotation
.end field
.field public final c:Lph/c;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lph/c<",
"-TT;-TU;+TV;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lkh/z;Ljava/lang/Iterable;Lph/c;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lkh/z<",
"+TT;>;",
"Ljava/lang/Iterable<",
"TU;>;",
"Lph/c<",
"-TT;-TU;+TV;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Lkh/z;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/operators/observable/y1;->a:Lkh/z;
.line 3
iput-object p2, p0, Lio/reactivex/internal/operators/observable/y1;->b:Ljava/lang/Iterable;
.line 4
iput-object p3, p0, Lio/reactivex/internal/operators/observable/y1;->c:Lph/c;
return-void
.end method
# virtual methods
.method public subscribeActual(Lkh/g0;)V
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lkh/g0<",
"-TV;>;)V"
}
.end annotation
.line 1
:try_start_0
iget-object v0, p0, Lio/reactivex/internal/operators/observable/y1;->b:Ljava/lang/Iterable;
invoke-interface {v0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
move-result-object v0
const-string v1, "The iterator returned by other is null"
invoke-static {v0, v1}, Lio/reactivex/internal/functions/a;->g(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/util/Iterator;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_1
.line 2
:try_start_1
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
if-nez v1, :cond_0
.line 3
invoke-static {p1}, Lio/reactivex/internal/disposables/EmptyDisposable;->complete(Lkh/g0;)V
return-void
.line 4
:cond_0
iget-object v1, p0, Lio/reactivex/internal/operators/observable/y1;->a:Lkh/z;
new-instance v2, Lio/reactivex/internal/operators/observable/y1$a;
iget-object v3, p0, Lio/reactivex/internal/operators/observable/y1;->c:Lph/c;
invoke-direct {v2, p1, v0, v3}, Lio/reactivex/internal/operators/observable/y1$a;-><init>(Lkh/g0;Ljava/util/Iterator;Lph/c;)V
invoke-virtual {v1, v2}, Lkh/z;->subscribe(Lkh/g0;)V
return-void
:catchall_0
move-exception v0
.line 5
invoke-static {v0}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 6
invoke-static {v0, p1}, Lio/reactivex/internal/disposables/EmptyDisposable;->error(Ljava/lang/Throwable;Lkh/g0;)V
return-void
:catchall_1
move-exception v0
.line 7
invoke-static {v0}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 8
invoke-static {v0, p1}, Lio/reactivex/internal/disposables/EmptyDisposable;->error(Ljava/lang/Throwable;Lkh/g0;)V
return-void
.end method