163 lines
4.1 KiB
Smali
163 lines
4.1 KiB
Smali
.class public final Lio/reactivex/internal/operators/flowable/FlowableFlattenIterable;
|
|
.super Lio/reactivex/internal/operators/flowable/a;
|
|
.source "FlowableFlattenIterable.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lio/reactivex/internal/operators/flowable/FlowableFlattenIterable$FlattenIterableSubscriber;
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
"R:",
|
|
"Ljava/lang/Object;",
|
|
">",
|
|
"Lio/reactivex/internal/operators/flowable/a<",
|
|
"TT;TR;>;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final c:Lph/o;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lph/o<",
|
|
"-TT;+",
|
|
"Ljava/lang/Iterable<",
|
|
"+TR;>;>;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public final d:I
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lkh/j;Lph/o;I)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lkh/j<",
|
|
"TT;>;",
|
|
"Lph/o<",
|
|
"-TT;+",
|
|
"Ljava/lang/Iterable<",
|
|
"+TR;>;>;I)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-direct {p0, p1}, Lio/reactivex/internal/operators/flowable/a;-><init>(Lkh/j;)V
|
|
|
|
.line 2
|
|
iput-object p2, p0, Lio/reactivex/internal/operators/flowable/FlowableFlattenIterable;->c:Lph/o;
|
|
|
|
.line 3
|
|
iput p3, p0, Lio/reactivex/internal/operators/flowable/FlowableFlattenIterable;->d:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public g6(Lok/d;)V
|
|
.locals 4
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lok/d<",
|
|
"-TR;>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lio/reactivex/internal/operators/flowable/a;->b:Lkh/j;
|
|
|
|
instance-of v1, v0, Ljava/util/concurrent/Callable;
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
.line 2
|
|
:try_start_0
|
|
check-cast v0, Ljava/util/concurrent/Callable;
|
|
|
|
invoke-interface {v0}, Ljava/util/concurrent/Callable;->call()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_1
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 3
|
|
invoke-static {p1}, Lio/reactivex/internal/subscriptions/EmptySubscription;->complete(Lok/d;)V
|
|
|
|
return-void
|
|
|
|
.line 4
|
|
:cond_0
|
|
:try_start_1
|
|
iget-object v1, p0, Lio/reactivex/internal/operators/flowable/FlowableFlattenIterable;->c:Lph/o;
|
|
|
|
invoke-interface {v1, v0}, Lph/o;->apply(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Ljava/lang/Iterable;
|
|
|
|
.line 5
|
|
invoke-interface {v0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object v0
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
.line 6
|
|
invoke-static {p1, v0}, Lio/reactivex/internal/operators/flowable/FlowableFromIterable;->I8(Lok/d;Ljava/util/Iterator;)V
|
|
|
|
return-void
|
|
|
|
:catchall_0
|
|
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/subscriptions/EmptySubscription;->error(Ljava/lang/Throwable;Lok/d;)V
|
|
|
|
return-void
|
|
|
|
:catchall_1
|
|
move-exception v0
|
|
|
|
.line 9
|
|
invoke-static {v0}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
|
|
|
|
.line 10
|
|
invoke-static {v0, p1}, Lio/reactivex/internal/subscriptions/EmptySubscription;->error(Ljava/lang/Throwable;Lok/d;)V
|
|
|
|
return-void
|
|
|
|
.line 11
|
|
:cond_1
|
|
new-instance v1, Lio/reactivex/internal/operators/flowable/FlowableFlattenIterable$FlattenIterableSubscriber;
|
|
|
|
iget-object v2, p0, Lio/reactivex/internal/operators/flowable/FlowableFlattenIterable;->c:Lph/o;
|
|
|
|
iget v3, p0, Lio/reactivex/internal/operators/flowable/FlowableFlattenIterable;->d:I
|
|
|
|
invoke-direct {v1, p1, v2, v3}, Lio/reactivex/internal/operators/flowable/FlowableFlattenIterable$FlattenIterableSubscriber;-><init>(Lok/d;Lph/o;I)V
|
|
|
|
invoke-virtual {v0, v1}, Lkh/j;->f6(Lkh/o;)V
|
|
|
|
return-void
|
|
.end method
|