d$a.smali
.class final Lio/reactivex/internal/operators/maybe/d$a;
.super Ljava/lang/Object;
.source "MaybeMap.java"
# interfaces
.implements Lio/reactivex/k;
.implements Lio/reactivex/disposables/b;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/operators/maybe/d;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = "a"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lio/reactivex/k<",
"TT;>;",
"Lio/reactivex/disposables/b;"
}
.end annotation
# instance fields
.field final a:Lio/reactivex/k;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lio/reactivex/k<",
"-TR;>;"
}
.end annotation
.end field
.field final b:Lio/reactivex/b/o;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lio/reactivex/b/o<",
"-TT;+TR;>;"
}
.end annotation
.end field
.field c:Lio/reactivex/disposables/b;
# direct methods
.method constructor <init>(Lio/reactivex/k;Lio/reactivex/b/o;)V
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lio/reactivex/k<",
"-TR;>;",
"Lio/reactivex/b/o<",
"-TT;+TR;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/operators/maybe/d$a;->a:Lio/reactivex/k;
.line 3
iput-object p2, p0, Lio/reactivex/internal/operators/maybe/d$a;->b:Lio/reactivex/b/o;
return-void
.end method
# virtual methods
.method public dispose()V
.registers 3
.line 1
iget-object v0, p0, Lio/reactivex/internal/operators/maybe/d$a;->c:Lio/reactivex/disposables/b;
.line 2
sget-object v1, Lio/reactivex/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
iput-object v1, p0, Lio/reactivex/internal/operators/maybe/d$a;->c:Lio/reactivex/disposables/b;
.line 3
invoke-interface {v0}, Lio/reactivex/disposables/b;->dispose()V
return-void
.end method
.method public isDisposed()Z
.registers 2
.line 1
iget-object v0, p0, Lio/reactivex/internal/operators/maybe/d$a;->c:Lio/reactivex/disposables/b;
invoke-interface {v0}, Lio/reactivex/disposables/b;->isDisposed()Z
move-result v0
return v0
.end method
.method public onComplete()V
.registers 2
.line 1
iget-object v0, p0, Lio/reactivex/internal/operators/maybe/d$a;->a:Lio/reactivex/k;
invoke-interface {v0}, Lio/reactivex/k;->onComplete()V
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.registers 3
.line 1
iget-object v0, p0, Lio/reactivex/internal/operators/maybe/d$a;->a:Lio/reactivex/k;
invoke-interface {v0, p1}, Lio/reactivex/k;->onError(Ljava/lang/Throwable;)V
return-void
.end method
.method public onSubscribe(Lio/reactivex/disposables/b;)V
.registers 3
.line 1
iget-object v0, p0, Lio/reactivex/internal/operators/maybe/d$a;->c:Lio/reactivex/disposables/b;
invoke-static {v0, p1}, Lio/reactivex/internal/disposables/DisposableHelper;->validate(Lio/reactivex/disposables/b;Lio/reactivex/disposables/b;)Z
move-result v0
if-eqz v0, :cond_f
.line 2
iput-object p1, p0, Lio/reactivex/internal/operators/maybe/d$a;->c:Lio/reactivex/disposables/b;
.line 3
iget-object p1, p0, Lio/reactivex/internal/operators/maybe/d$a;->a:Lio/reactivex/k;
invoke-interface {p1, p0}, Lio/reactivex/k;->onSubscribe(Lio/reactivex/disposables/b;)V
:cond_f
return-void
.end method
.method public onSuccess(Ljava/lang/Object;)V
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 1
:try_start_0
iget-object v0, p0, Lio/reactivex/internal/operators/maybe/d$a;->b:Lio/reactivex/b/o;
invoke-interface {v0, p1}, Lio/reactivex/b/o;->apply(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
const-string v0, "The mapper returned a null item"
invoke-static {p1, v0}, Lio/reactivex/internal/functions/a;->a(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
:try_end_b
.catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_b} :catch_11
.line 2
iget-object v0, p0, Lio/reactivex/internal/operators/maybe/d$a;->a:Lio/reactivex/k;
invoke-interface {v0, p1}, Lio/reactivex/k;->onSuccess(Ljava/lang/Object;)V
return-void
:catch_11
move-exception p1
.line 3
invoke-static {p1}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 4
iget-object v0, p0, Lio/reactivex/internal/operators/maybe/d$a;->a:Lio/reactivex/k;
invoke-interface {v0, p1}, Lio/reactivex/k;->onError(Ljava/lang/Throwable;)V
return-void
.end method