.class public final Lio/reactivex/internal/operators/flowable/w0$a; .super Ljava/lang/Object; .source "FlowableScan.java" # interfaces .implements Lkh/o; .implements Lok/e; # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lio/reactivex/internal/operators/flowable/w0; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x19 name = "a" .end annotation .annotation system Ldalvik/annotation/Signature; value = { "", "Ljava/lang/Object;", "Lkh/o<", "TT;>;", "Lok/e;" } .end annotation # instance fields .field public final a:Lok/d; .annotation system Ldalvik/annotation/Signature; value = { "Lok/d<", "-TT;>;" } .end annotation .end field .field public final b:Lph/c; .annotation system Ldalvik/annotation/Signature; value = { "Lph/c<", "TT;TT;TT;>;" } .end annotation .end field .field public c:Lok/e; .field public d:Ljava/lang/Object; .annotation system Ldalvik/annotation/Signature; value = { "TT;" } .end annotation .end field .field public e:Z # direct methods .method public constructor (Lok/d;Lph/c;)V .locals 0 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lok/d<", "-TT;>;", "Lph/c<", "TT;TT;TT;>;)V" } .end annotation .line 1 invoke-direct {p0}, Ljava/lang/Object;->()V .line 2 iput-object p1, p0, Lio/reactivex/internal/operators/flowable/w0$a;->a:Lok/d; .line 3 iput-object p2, p0, Lio/reactivex/internal/operators/flowable/w0$a;->b:Lph/c; return-void .end method # virtual methods .method public cancel()V .locals 1 .line 1 iget-object v0, p0, Lio/reactivex/internal/operators/flowable/w0$a;->c:Lok/e; invoke-interface {v0}, Lok/e;->cancel()V return-void .end method .method public onComplete()V .locals 1 .line 1 iget-boolean v0, p0, Lio/reactivex/internal/operators/flowable/w0$a;->e:Z if-eqz v0, :cond_0 return-void :cond_0 const/4 v0, 0x1 .line 2 iput-boolean v0, p0, Lio/reactivex/internal/operators/flowable/w0$a;->e:Z .line 3 iget-object v0, p0, Lio/reactivex/internal/operators/flowable/w0$a;->a:Lok/d; invoke-interface {v0}, Lok/d;->onComplete()V return-void .end method .method public onError(Ljava/lang/Throwable;)V .locals 1 .line 1 iget-boolean v0, p0, Lio/reactivex/internal/operators/flowable/w0$a;->e:Z if-eqz v0, :cond_0 .line 2 invoke-static {p1}, Lwh/a;->Y(Ljava/lang/Throwable;)V return-void :cond_0 const/4 v0, 0x1 .line 3 iput-boolean v0, p0, Lio/reactivex/internal/operators/flowable/w0$a;->e:Z .line 4 iget-object v0, p0, Lio/reactivex/internal/operators/flowable/w0$a;->a:Lok/d; invoke-interface {v0, p1}, Lok/d;->onError(Ljava/lang/Throwable;)V return-void .end method .method public onNext(Ljava/lang/Object;)V .locals 3 .annotation system Ldalvik/annotation/Signature; value = { "(TT;)V" } .end annotation .line 1 iget-boolean v0, p0, Lio/reactivex/internal/operators/flowable/w0$a;->e:Z if-eqz v0, :cond_0 return-void .line 2 :cond_0 iget-object v0, p0, Lio/reactivex/internal/operators/flowable/w0$a;->a:Lok/d; .line 3 iget-object v1, p0, Lio/reactivex/internal/operators/flowable/w0$a;->d:Ljava/lang/Object; if-nez v1, :cond_1 .line 4 iput-object p1, p0, Lio/reactivex/internal/operators/flowable/w0$a;->d:Ljava/lang/Object; .line 5 invoke-interface {v0, p1}, Lok/d;->onNext(Ljava/lang/Object;)V goto :goto_0 .line 6 :cond_1 :try_start_0 iget-object v2, p0, Lio/reactivex/internal/operators/flowable/w0$a;->b:Lph/c; invoke-interface {v2, v1, p1}, Lph/c;->apply(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; move-result-object p1 const-string v1, "The value returned by the accumulator is null" invoke-static {p1, v1}, Lio/reactivex/internal/functions/a;->g(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; move-result-object p1 :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_0 .line 7 iput-object p1, p0, Lio/reactivex/internal/operators/flowable/w0$a;->d:Ljava/lang/Object; .line 8 invoke-interface {v0, p1}, Lok/d;->onNext(Ljava/lang/Object;)V :goto_0 return-void :catchall_0 move-exception p1 .line 9 invoke-static {p1}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V .line 10 iget-object v0, p0, Lio/reactivex/internal/operators/flowable/w0$a;->c:Lok/e; invoke-interface {v0}, Lok/e;->cancel()V .line 11 invoke-virtual {p0, p1}, Lio/reactivex/internal/operators/flowable/w0$a;->onError(Ljava/lang/Throwable;)V return-void .end method .method public onSubscribe(Lok/e;)V .locals 1 .line 1 iget-object v0, p0, Lio/reactivex/internal/operators/flowable/w0$a;->c:Lok/e; invoke-static {v0, p1}, Lio/reactivex/internal/subscriptions/SubscriptionHelper;->validate(Lok/e;Lok/e;)Z move-result v0 if-eqz v0, :cond_0 .line 2 iput-object p1, p0, Lio/reactivex/internal/operators/flowable/w0$a;->c:Lok/e; .line 3 iget-object p1, p0, Lio/reactivex/internal/operators/flowable/w0$a;->a:Lok/d; invoke-interface {p1, p0}, Lok/d;->onSubscribe(Lok/e;)V :cond_0 return-void .end method .method public request(J)V .locals 1 .line 1 iget-object v0, p0, Lio/reactivex/internal/operators/flowable/w0$a;->c:Lok/e; invoke-interface {v0, p1, p2}, Lok/e;->request(J)V return-void .end method