b.smali
.class public final Lio/reactivex/internal/operators/maybe/b;
.super Ljava/util/concurrent/atomic/AtomicReference;
.source "SourceFile"
# interfaces
.implements Lio/reactivex/i;
.implements Lio/reactivex/disposables/b;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/util/concurrent/atomic/AtomicReference<",
"Lio/reactivex/disposables/b;",
">;",
"Lio/reactivex/i<",
"TT;>;",
"Lio/reactivex/disposables/b;"
}
.end annotation
# static fields
.field private static final serialVersionUID:J = -0x5455abeb2f86e01aL
# instance fields
.field public final a:Lio/reactivex/functions/f;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lio/reactivex/functions/f<",
"-TT;>;"
}
.end annotation
.end field
.field public final b:Lio/reactivex/functions/f;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lio/reactivex/functions/f<",
"-",
"Ljava/lang/Throwable;",
">;"
}
.end annotation
.end field
.field public final c:Lio/reactivex/functions/a;
# direct methods
.method public constructor <init>()V
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lio/reactivex/functions/f<",
"-TT;>;",
"Lio/reactivex/functions/f<",
"-",
"Ljava/lang/Throwable;",
">;",
"Lio/reactivex/functions/a;",
")V"
}
.end annotation
sget-object v0, Lio/reactivex/internal/functions/a;->d:Lio/reactivex/internal/functions/a$o;
sget-object v1, Lio/reactivex/internal/functions/a;->e:Lio/reactivex/internal/functions/a$c0;
sget-object v2, Lio/reactivex/internal/functions/a;->c:Lio/reactivex/internal/functions/a$n;
.line 1
invoke-direct {p0}, Ljava/util/concurrent/atomic/AtomicReference;-><init>()V
.line 2
iput-object v0, p0, Lio/reactivex/internal/operators/maybe/b;->a:Lio/reactivex/functions/f;
.line 3
iput-object v1, p0, Lio/reactivex/internal/operators/maybe/b;->b:Lio/reactivex/functions/f;
.line 4
iput-object v2, p0, Lio/reactivex/internal/operators/maybe/b;->c:Lio/reactivex/functions/a;
return-void
.end method
# virtual methods
.method public final dispose()V
.registers 1
invoke-static {p0}, Lio/reactivex/internal/disposables/c;->dispose(Ljava/util/concurrent/atomic/AtomicReference;)Z
return-void
.end method
.method public final isDisposed()Z
.registers 2
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lio/reactivex/disposables/b;
invoke-static {v0}, Lio/reactivex/internal/disposables/c;->isDisposed(Lio/reactivex/disposables/b;)Z
move-result v0
return v0
.end method
.method public final onComplete()V
.registers 2
.line 1
sget-object v0, Lio/reactivex/internal/disposables/c;->DISPOSED:Lio/reactivex/internal/disposables/c;
invoke-virtual {p0, v0}, Ljava/util/concurrent/atomic/AtomicReference;->lazySet(Ljava/lang/Object;)V
.line 2
:try_start_5
iget-object v0, p0, Lio/reactivex/internal/operators/maybe/b;->c:Lio/reactivex/functions/a;
invoke-interface {v0}, Lio/reactivex/functions/a;->run()V
:try_end_a
.catchall {:try_start_5 .. :try_end_a} :catchall_b
goto :goto_12
:catchall_b
move-exception v0
.line 3
invoke-static {v0}, Lcom/shopee/app/dre/codepush/task/a;->m(Ljava/lang/Throwable;)V
.line 4
invoke-static {v0}, Lio/reactivex/plugins/a;->b(Ljava/lang/Throwable;)V
:goto_12
return-void
.end method
.method public final onError(Ljava/lang/Throwable;)V
.registers 6
.line 1
sget-object v0, Lio/reactivex/internal/disposables/c;->DISPOSED:Lio/reactivex/internal/disposables/c;
invoke-virtual {p0, v0}, Ljava/util/concurrent/atomic/AtomicReference;->lazySet(Ljava/lang/Object;)V
.line 2
:try_start_5
iget-object v0, p0, Lio/reactivex/internal/operators/maybe/b;->b:Lio/reactivex/functions/f;
invoke-interface {v0, p1}, Lio/reactivex/functions/f;->accept(Ljava/lang/Object;)V
:try_end_a
.catchall {:try_start_5 .. :try_end_a} :catchall_b
goto :goto_20
:catchall_b
move-exception v0
.line 3
invoke-static {v0}, Lcom/shopee/app/dre/codepush/task/a;->m(Ljava/lang/Throwable;)V
.line 4
new-instance v1, Lio/reactivex/exceptions/a;
const/4 v2, 0x2
new-array v2, v2, [Ljava/lang/Throwable;
const/4 v3, 0x0
aput-object p1, v2, v3
const/4 p1, 0x1
aput-object v0, v2, p1
invoke-direct {v1, v2}, Lio/reactivex/exceptions/a;-><init>([Ljava/lang/Throwable;)V
invoke-static {v1}, Lio/reactivex/plugins/a;->b(Ljava/lang/Throwable;)V
:goto_20
return-void
.end method
.method public final onSubscribe(Lio/reactivex/disposables/b;)V
.registers 2
invoke-static {p0, p1}, Lio/reactivex/internal/disposables/c;->setOnce(Ljava/util/concurrent/atomic/AtomicReference;Lio/reactivex/disposables/b;)Z
return-void
.end method
.method public final onSuccess(Ljava/lang/Object;)V
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 1
sget-object v0, Lio/reactivex/internal/disposables/c;->DISPOSED:Lio/reactivex/internal/disposables/c;
invoke-virtual {p0, v0}, Ljava/util/concurrent/atomic/AtomicReference;->lazySet(Ljava/lang/Object;)V
.line 2
:try_start_5
iget-object v0, p0, Lio/reactivex/internal/operators/maybe/b;->a:Lio/reactivex/functions/f;
invoke-interface {v0, p1}, Lio/reactivex/functions/f;->accept(Ljava/lang/Object;)V
:try_end_a
.catchall {:try_start_5 .. :try_end_a} :catchall_b
goto :goto_12
:catchall_b
move-exception p1
.line 3
invoke-static {p1}, Lcom/shopee/app/dre/codepush/task/a;->m(Ljava/lang/Throwable;)V
.line 4
invoke-static {p1}, Lio/reactivex/plugins/a;->b(Ljava/lang/Throwable;)V
:goto_12
return-void
.end method