FlowableReduceMaybe.smali
.class public final Lio/reactivex/internal/operators/flowable/FlowableReduceMaybe;
.super Lio/reactivex/Maybe;
.source "FlowableReduceMaybe.java"
# interfaces
.implements Lio/reactivex/internal/fuseable/HasUpstreamPublisher;
.implements Lio/reactivex/internal/fuseable/FuseToFlowable;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lio/reactivex/internal/operators/flowable/FlowableReduceMaybe$ReduceSubscriber;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Lio/reactivex/Maybe<",
"TT;>;",
"Lio/reactivex/internal/fuseable/HasUpstreamPublisher<",
"TT;>;",
"Lio/reactivex/internal/fuseable/FuseToFlowable<",
"TT;>;"
}
.end annotation
# instance fields
.field final reducer:Lio/reactivex/functions/BiFunction;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lio/reactivex/functions/BiFunction<",
"TT;TT;TT;>;"
}
.end annotation
.end field
.field final source:Lio/reactivex/Flowable;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lio/reactivex/Flowable<",
"TT;>;"
}
.end annotation
.end field
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method public constructor <init>(Lio/reactivex/Flowable;Lio/reactivex/functions/BiFunction;)V
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lio/reactivex/Flowable<",
"TT;>;",
"Lio/reactivex/functions/BiFunction<",
"TT;TT;TT;>;)V"
}
.end annotation
.line 40
.local p0, "this":Lio/reactivex/internal/operators/flowable/FlowableReduceMaybe;, "Lio/reactivex/internal/operators/flowable/FlowableReduceMaybe<TT;>;"
.local p1, "source":Lio/reactivex/Flowable;, "Lio/reactivex/Flowable<TT;>;"
.local p2, "reducer":Lio/reactivex/functions/BiFunction;, "Lio/reactivex/functions/BiFunction<TT;TT;TT;>;"
invoke-direct {p0}, Lio/reactivex/Maybe;-><init>()V
.line 41
iput-object p1, p0, Lio/reactivex/internal/operators/flowable/FlowableReduceMaybe;->source:Lio/reactivex/Flowable;
.line 42
iput-object p2, p0, Lio/reactivex/internal/operators/flowable/FlowableReduceMaybe;->reducer:Lio/reactivex/functions/BiFunction;
.line 43
return-void
.end method
# virtual methods
.method public fuseToFlowable()Lio/reactivex/Flowable;
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lio/reactivex/Flowable<",
"TT;>;"
}
.end annotation
.line 52
.local p0, "this":Lio/reactivex/internal/operators/flowable/FlowableReduceMaybe;, "Lio/reactivex/internal/operators/flowable/FlowableReduceMaybe<TT;>;"
new-instance v0, Lio/reactivex/internal/operators/flowable/FlowableReduce;
iget-object v1, p0, Lio/reactivex/internal/operators/flowable/FlowableReduceMaybe;->source:Lio/reactivex/Flowable;
iget-object v2, p0, Lio/reactivex/internal/operators/flowable/FlowableReduceMaybe;->reducer:Lio/reactivex/functions/BiFunction;
invoke-direct {v0, v1, v2}, Lio/reactivex/internal/operators/flowable/FlowableReduce;-><init>(Lio/reactivex/Flowable;Lio/reactivex/functions/BiFunction;)V
invoke-static {v0}, Lio/reactivex/plugins/RxJavaPlugins;->onAssembly(Lio/reactivex/Flowable;)Lio/reactivex/Flowable;
move-result-object v0
return-object v0
.end method
.method public source()Lorg/reactivestreams/Publisher;
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lorg/reactivestreams/Publisher<",
"TT;>;"
}
.end annotation
.line 47
.local p0, "this":Lio/reactivex/internal/operators/flowable/FlowableReduceMaybe;, "Lio/reactivex/internal/operators/flowable/FlowableReduceMaybe<TT;>;"
iget-object v0, p0, Lio/reactivex/internal/operators/flowable/FlowableReduceMaybe;->source:Lio/reactivex/Flowable;
return-object v0
.end method
.method protected subscribeActual(Lio/reactivex/MaybeObserver;)V
.registers 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lio/reactivex/MaybeObserver<",
"-TT;>;)V"
}
.end annotation
.line 57
.local p0, "this":Lio/reactivex/internal/operators/flowable/FlowableReduceMaybe;, "Lio/reactivex/internal/operators/flowable/FlowableReduceMaybe<TT;>;"
.local p1, "observer":Lio/reactivex/MaybeObserver;, "Lio/reactivex/MaybeObserver<-TT;>;"
iget-object v0, p0, Lio/reactivex/internal/operators/flowable/FlowableReduceMaybe;->source:Lio/reactivex/Flowable;
new-instance v1, Lio/reactivex/internal/operators/flowable/FlowableReduceMaybe$ReduceSubscriber;
iget-object v2, p0, Lio/reactivex/internal/operators/flowable/FlowableReduceMaybe;->reducer:Lio/reactivex/functions/BiFunction;
invoke-direct {v1, p1, v2}, Lio/reactivex/internal/operators/flowable/FlowableReduceMaybe$ReduceSubscriber;-><init>(Lio/reactivex/MaybeObserver;Lio/reactivex/functions/BiFunction;)V
invoke-virtual {v0, v1}, Lio/reactivex/Flowable;->subscribe(Lio/reactivex/FlowableSubscriber;)V
.line 58
return-void
.end method