.class public final Lio/reactivex/rxjava3/internal/jdk8/c$a; .super Ljava/lang/Object; .source "FlowableCollectWithCollectorSingle.java" # interfaces .implements Lai/r; .implements Lio/reactivex/rxjava3/disposables/c; # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lio/reactivex/rxjava3/internal/jdk8/c; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x19 name = "a" .end annotation .annotation system Ldalvik/annotation/Signature; value = { "", "Ljava/lang/Object;", "Lai/r<", "TT;>;", "Lio/reactivex/rxjava3/disposables/c;" } .end annotation # instance fields .field public final a:Lai/s0; .annotation system Ldalvik/annotation/Signature; value = { "Lai/s0<", "-TR;>;" } .end annotation .end field .field public final b:Ljava/util/function/BiConsumer; .annotation system Ldalvik/annotation/Signature; value = { "Ljava/util/function/BiConsumer<", "TA;TT;>;" } .end annotation .end field .field public final c:Ljava/util/function/Function; .annotation system Ldalvik/annotation/Signature; value = { "Ljava/util/function/Function<", "TA;TR;>;" } .end annotation .end field .field public d:Lok/e; .field public e:Z .field public f:Ljava/lang/Object; .annotation system Ldalvik/annotation/Signature; value = { "TA;" } .end annotation .end field # direct methods .method public constructor (Lai/s0;Ljava/lang/Object;Ljava/util/function/BiConsumer;Ljava/util/function/Function;)V .locals 0 .annotation system Ldalvik/annotation/MethodParameters; accessFlags = { 0x0, 0x0, 0x0, 0x0 } names = { "downstream", "container", "accumulator", "finisher" } .end annotation .annotation system Ldalvik/annotation/Signature; value = { "(", "Lai/s0<", "-TR;>;TA;", "Ljava/util/function/BiConsumer<", "TA;TT;>;", "Ljava/util/function/Function<", "TA;TR;>;)V" } .end annotation .line 1 invoke-direct {p0}, Ljava/lang/Object;->()V .line 2 iput-object p1, p0, Lio/reactivex/rxjava3/internal/jdk8/c$a;->a:Lai/s0; .line 3 iput-object p2, p0, Lio/reactivex/rxjava3/internal/jdk8/c$a;->f:Ljava/lang/Object; .line 4 iput-object p3, p0, Lio/reactivex/rxjava3/internal/jdk8/c$a;->b:Ljava/util/function/BiConsumer; .line 5 iput-object p4, p0, Lio/reactivex/rxjava3/internal/jdk8/c$a;->c:Ljava/util/function/Function; return-void .end method # virtual methods .method public dispose()V .locals 1 .line 1 iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/c$a;->d:Lok/e; invoke-interface {v0}, Lok/e;->cancel()V .line 2 sget-object v0, Lio/reactivex/rxjava3/internal/subscriptions/SubscriptionHelper;->CANCELLED:Lio/reactivex/rxjava3/internal/subscriptions/SubscriptionHelper; iput-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/c$a;->d:Lok/e; return-void .end method .method public isDisposed()Z .locals 2 .line 1 iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/c$a;->d:Lok/e; sget-object v1, Lio/reactivex/rxjava3/internal/subscriptions/SubscriptionHelper;->CANCELLED:Lio/reactivex/rxjava3/internal/subscriptions/SubscriptionHelper; if-ne v0, v1, :cond_0 const/4 v0, 0x1 goto :goto_0 :cond_0 const/4 v0, 0x0 :goto_0 return v0 .end method .method public onComplete()V .locals 2 .line 1 iget-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/c$a;->e:Z if-eqz v0, :cond_0 return-void :cond_0 const/4 v0, 0x1 .line 2 iput-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/c$a;->e:Z .line 3 sget-object v0, Lio/reactivex/rxjava3/internal/subscriptions/SubscriptionHelper;->CANCELLED:Lio/reactivex/rxjava3/internal/subscriptions/SubscriptionHelper; iput-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/c$a;->d:Lok/e; .line 4 iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/c$a;->f:Ljava/lang/Object; const/4 v1, 0x0 .line 5 iput-object v1, p0, Lio/reactivex/rxjava3/internal/jdk8/c$a;->f:Ljava/lang/Object; .line 6 :try_start_0 iget-object v1, p0, Lio/reactivex/rxjava3/internal/jdk8/c$a;->c:Ljava/util/function/Function; invoke-interface {v1, v0}, Ljava/util/function/Function;->apply(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 const-string v1, "The finisher returned a null value" invoke-static {v0, v1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_0 .line 7 iget-object v1, p0, Lio/reactivex/rxjava3/internal/jdk8/c$a;->a:Lai/s0; invoke-interface {v1, v0}, Lai/s0;->onSuccess(Ljava/lang/Object;)V return-void :catchall_0 move-exception v0 .line 8 invoke-static {v0}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V .line 9 iget-object v1, p0, Lio/reactivex/rxjava3/internal/jdk8/c$a;->a:Lai/s0; invoke-interface {v1, v0}, Lai/s0;->onError(Ljava/lang/Throwable;)V return-void .end method .method public onError(Ljava/lang/Throwable;)V .locals 1 .annotation system Ldalvik/annotation/MethodParameters; accessFlags = { 0x0 } names = { "t" } .end annotation .line 1 iget-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/c$a;->e:Z if-eqz v0, :cond_0 .line 2 invoke-static {p1}, Lji/a;->Y(Ljava/lang/Throwable;)V goto :goto_0 :cond_0 const/4 v0, 0x1 .line 3 iput-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/c$a;->e:Z .line 4 sget-object v0, Lio/reactivex/rxjava3/internal/subscriptions/SubscriptionHelper;->CANCELLED:Lio/reactivex/rxjava3/internal/subscriptions/SubscriptionHelper; iput-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/c$a;->d:Lok/e; const/4 v0, 0x0 .line 5 iput-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/c$a;->f:Ljava/lang/Object; .line 6 iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/c$a;->a:Lai/s0; invoke-interface {v0, p1}, Lai/s0;->onError(Ljava/lang/Throwable;)V :goto_0 return-void .end method .method public onNext(Ljava/lang/Object;)V .locals 2 .annotation system Ldalvik/annotation/MethodParameters; accessFlags = { 0x0 } names = { "t" } .end annotation .annotation system Ldalvik/annotation/Signature; value = { "(TT;)V" } .end annotation .line 1 iget-boolean v0, p0, Lio/reactivex/rxjava3/internal/jdk8/c$a;->e:Z if-eqz v0, :cond_0 return-void .line 2 :cond_0 :try_start_0 iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/c$a;->b:Ljava/util/function/BiConsumer; iget-object v1, p0, Lio/reactivex/rxjava3/internal/jdk8/c$a;->f:Ljava/lang/Object; invoke-interface {v0, v1, p1}, Ljava/util/function/BiConsumer;->accept(Ljava/lang/Object;Ljava/lang/Object;)V :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_0 goto :goto_0 :catchall_0 move-exception p1 .line 3 invoke-static {p1}, Lio/reactivex/rxjava3/exceptions/a;->b(Ljava/lang/Throwable;)V .line 4 iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/c$a;->d:Lok/e; invoke-interface {v0}, Lok/e;->cancel()V .line 5 invoke-virtual {p0, p1}, Lio/reactivex/rxjava3/internal/jdk8/c$a;->onError(Ljava/lang/Throwable;)V :goto_0 return-void .end method .method public onSubscribe(Lok/e;)V .locals 2 .param p1 # Lok/e; .annotation build Lio/reactivex/rxjava3/annotations/NonNull; .end annotation .end param .annotation system Ldalvik/annotation/MethodParameters; accessFlags = { 0x0 } names = { "s" } .end annotation .line 1 iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/c$a;->d:Lok/e; invoke-static {v0, p1}, Lio/reactivex/rxjava3/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/rxjava3/internal/jdk8/c$a;->d:Lok/e; .line 3 iget-object v0, p0, Lio/reactivex/rxjava3/internal/jdk8/c$a;->a:Lai/s0; invoke-interface {v0, p0}, Lai/s0;->onSubscribe(Lio/reactivex/rxjava3/disposables/c;)V const-wide v0, 0x7fffffffffffffffL .line 4 invoke-interface {p1, v0, v1}, Lok/e;->request(J)V :cond_0 return-void .end method