122 lines
3.2 KiB
Smali
122 lines
3.2 KiB
Smali
.class public final Lio/reactivex/internal/operators/flowable/FlowableCollect;
|
|
.super Lio/reactivex/internal/operators/flowable/a;
|
|
.source "FlowableCollect.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lio/reactivex/internal/operators/flowable/FlowableCollect$CollectSubscriber;
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
"U:",
|
|
"Ljava/lang/Object;",
|
|
">",
|
|
"Lio/reactivex/internal/operators/flowable/a<",
|
|
"TT;TU;>;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final c:Ljava/util/concurrent/Callable;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/concurrent/Callable<",
|
|
"+TU;>;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public final d:Lph/b;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lph/b<",
|
|
"-TU;-TT;>;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lkh/j;Ljava/util/concurrent/Callable;Lph/b;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lkh/j<",
|
|
"TT;>;",
|
|
"Ljava/util/concurrent/Callable<",
|
|
"+TU;>;",
|
|
"Lph/b<",
|
|
"-TU;-TT;>;)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/FlowableCollect;->c:Ljava/util/concurrent/Callable;
|
|
|
|
.line 3
|
|
iput-object p3, p0, Lio/reactivex/internal/operators/flowable/FlowableCollect;->d:Lph/b;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public g6(Lok/d;)V
|
|
.locals 4
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lok/d<",
|
|
"-TU;>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
:try_start_0
|
|
iget-object v0, p0, Lio/reactivex/internal/operators/flowable/FlowableCollect;->c:Ljava/util/concurrent/Callable;
|
|
|
|
invoke-interface {v0}, Ljava/util/concurrent/Callable;->call()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "The initial value supplied 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
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
.line 2
|
|
iget-object v1, p0, Lio/reactivex/internal/operators/flowable/a;->b:Lkh/j;
|
|
|
|
new-instance v2, Lio/reactivex/internal/operators/flowable/FlowableCollect$CollectSubscriber;
|
|
|
|
iget-object v3, p0, Lio/reactivex/internal/operators/flowable/FlowableCollect;->d:Lph/b;
|
|
|
|
invoke-direct {v2, p1, v0, v3}, Lio/reactivex/internal/operators/flowable/FlowableCollect$CollectSubscriber;-><init>(Lok/d;Ljava/lang/Object;Lph/b;)V
|
|
|
|
invoke-virtual {v1, v2}, Lkh/j;->f6(Lkh/o;)V
|
|
|
|
return-void
|
|
|
|
:catchall_0
|
|
move-exception v0
|
|
|
|
.line 3
|
|
invoke-static {v0, p1}, Lio/reactivex/internal/subscriptions/EmptySubscription;->error(Ljava/lang/Throwable;Lok/d;)V
|
|
|
|
return-void
|
|
.end method
|