b.smali
.class final Lio/reactivex/internal/operators/single/b;
.super Ljava/lang/Object;
.source "SingleMap.java"
# interfaces
.implements Lio/reactivex/z;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lio/reactivex/z",
"<TT;>;"
}
.end annotation
# instance fields
.field private bRW:Lio/reactivex/z;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lio/reactivex/z",
"<-TR;>;"
}
.end annotation
.end field
.field private mapper:Lio/reactivex/b/h;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lio/reactivex/b/h",
"<-TT;+TR;>;"
}
.end annotation
.end field
# direct methods
.method constructor <init>(Lio/reactivex/z;Lio/reactivex/b/h;)V
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lio/reactivex/z",
"<-TR;>;",
"Lio/reactivex/b/h",
"<-TT;+TR;>;)V"
}
.end annotation
.prologue
.line 43
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 44
iput-object p1, p0, Lio/reactivex/internal/operators/single/b;->bRW:Lio/reactivex/z;
.line 45
iput-object p2, p0, Lio/reactivex/internal/operators/single/b;->mapper:Lio/reactivex/b/h;
.line 46
return-void
.end method
# virtual methods
.method public final onError(Ljava/lang/Throwable;)V
.registers 3
.prologue
.line 69
iget-object v0, p0, Lio/reactivex/internal/operators/single/b;->bRW:Lio/reactivex/z;
invoke-interface {v0, p1}, Lio/reactivex/z;->onError(Ljava/lang/Throwable;)V
.line 70
return-void
.end method
.method public final onSubscribe(Lio/reactivex/disposables/b;)V
.registers 3
.prologue
.line 50
iget-object v0, p0, Lio/reactivex/internal/operators/single/b;->bRW:Lio/reactivex/z;
invoke-interface {v0, p1}, Lio/reactivex/z;->onSubscribe(Lio/reactivex/disposables/b;)V
.line 51
return-void
.end method
.method public final onSuccess(Ljava/lang/Object;)V
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.prologue
.line 57
:try_start_0
iget-object v0, p0, Lio/reactivex/internal/operators/single/b;->mapper:Lio/reactivex/b/h;
invoke-interface {v0, p1}, Lio/reactivex/b/h;->apply(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
const-string v1, "The mapper function returned a null value."
invoke-static {v0, v1}, Lio/reactivex/internal/functions/aj;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
:try_end_b
.catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_b} :catch_12
move-result-object v0
.line 64
iget-object v1, p0, Lio/reactivex/internal/operators/single/b;->bRW:Lio/reactivex/z;
invoke-interface {v1, v0}, Lio/reactivex/z;->onSuccess(Ljava/lang/Object;)V
.line 65
:goto_11
return-void
.line 58
:catch_12
move-exception v0
.line 59
invoke-static {v0}, Lio/reactivex/exceptions/d;->throwIfFatal(Ljava/lang/Throwable;)V
.line 60
invoke-virtual {p0, v0}, Lio/reactivex/internal/operators/single/b;->onError(Ljava/lang/Throwable;)V
goto :goto_11
.end method