h2$a.smali
.class public final Lio/reactivex/internal/operators/observable/h2$a;
.super Lio/reactivex/internal/observers/a;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/operators/observable/h2;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "a"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"U:",
"Ljava/lang/Object;",
">",
"Lio/reactivex/internal/observers/a<",
"TT;TU;>;"
}
.end annotation
# instance fields
.field public final f:Lio/reactivex/functions/n;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lio/reactivex/functions/n<",
"-TT;+TU;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lio/reactivex/s;Lio/reactivex/functions/n;)V
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lio/reactivex/s<",
"-TU;>;",
"Lio/reactivex/functions/n<",
"-TT;+TU;>;)V"
}
.end annotation
.line 1
invoke-direct {p0, p1}, Lio/reactivex/internal/observers/a;-><init>(Lio/reactivex/s;)V
.line 2
iput-object p2, p0, Lio/reactivex/internal/operators/observable/h2$a;->f:Lio/reactivex/functions/n;
return-void
.end method
# virtual methods
.method public final onNext(Ljava/lang/Object;)V
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 1
iget-boolean v0, p0, Lio/reactivex/internal/observers/a;->d:Z
if-eqz v0, :cond_5
return-void
.line 2
:cond_5
iget v0, p0, Lio/reactivex/internal/observers/a;->e:I
if-eqz v0, :cond_10
.line 3
iget-object p1, p0, Lio/reactivex/internal/observers/a;->a:Lio/reactivex/s;
const/4 v0, 0x0
invoke-interface {p1, v0}, Lio/reactivex/s;->onNext(Ljava/lang/Object;)V
return-void
.line 4
:cond_10
:try_start_10
iget-object v0, p0, Lio/reactivex/internal/operators/observable/h2$a;->f:Lio/reactivex/functions/n;
invoke-interface {v0, p1}, Lio/reactivex/functions/n;->apply(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
const-string v0, "The mapper function returned a null value."
.line 5
invoke-static {p1, v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
:try_end_1b
.catchall {:try_start_10 .. :try_end_1b} :catchall_21
.line 6
iget-object v0, p0, Lio/reactivex/internal/observers/a;->a:Lio/reactivex/s;
invoke-interface {v0, p1}, Lio/reactivex/s;->onNext(Ljava/lang/Object;)V
return-void
:catchall_21
move-exception p1
.line 7
invoke-virtual {p0, p1}, Lio/reactivex/internal/observers/a;->a(Ljava/lang/Throwable;)V
return-void
.end method
.method public final poll()Ljava/lang/Object;
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"()TU;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/internal/observers/a;->c:Lio/reactivex/internal/fuseable/c;
invoke-interface {v0}, Lio/reactivex/internal/fuseable/h;->poll()Ljava/lang/Object;
move-result-object v0
if-eqz v0, :cond_14
.line 2
iget-object v1, p0, Lio/reactivex/internal/operators/observable/h2$a;->f:Lio/reactivex/functions/n;
invoke-interface {v1, v0}, Lio/reactivex/functions/n;->apply(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
const-string v1, "The mapper function returned a null value."
.line 3
invoke-static {v0, v1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
goto :goto_15
:cond_14
const/4 v0, 0x0
:goto_15
return-object v0
.end method
.method public final requestFusion(I)I
.registers 2
invoke-virtual {p0, p1}, Lio/reactivex/internal/observers/a;->b(I)I
move-result p1
return p1
.end method