qa$a.smali
.class final Lio/reactivex/internal/operators/observable/qa$a;
.super Ljava/lang/Object;
.source "ObservableSwitchIfEmpty.java"
# interfaces
.implements Lio/reactivex/w;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/operators/observable/qa;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = "a"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lio/reactivex/w<",
"TT;>;"
}
.end annotation
# instance fields
.field final a:Lio/reactivex/w;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lio/reactivex/w<",
"-TT;>;"
}
.end annotation
.end field
.field final b:Lio/reactivex/u;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lio/reactivex/u<",
"+TT;>;"
}
.end annotation
.end field
.field final c:Lio/reactivex/internal/disposables/SequentialDisposable;
.field d:Z
# direct methods
.method constructor <init>(Lio/reactivex/w;Lio/reactivex/u;)V
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lio/reactivex/w<",
"-TT;>;",
"Lio/reactivex/u<",
"+TT;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/operators/observable/qa$a;->a:Lio/reactivex/w;
.line 3
iput-object p2, p0, Lio/reactivex/internal/operators/observable/qa$a;->b:Lio/reactivex/u;
const/4 p1, 0x1
.line 4
iput-boolean p1, p0, Lio/reactivex/internal/operators/observable/qa$a;->d:Z
.line 5
new-instance p1, Lio/reactivex/internal/disposables/SequentialDisposable;
invoke-direct {p1}, Lio/reactivex/internal/disposables/SequentialDisposable;-><init>()V
iput-object p1, p0, Lio/reactivex/internal/operators/observable/qa$a;->c:Lio/reactivex/internal/disposables/SequentialDisposable;
return-void
.end method
# virtual methods
.method public onComplete()V
.registers 2
.line 1
iget-boolean v0, p0, Lio/reactivex/internal/operators/observable/qa$a;->d:Z
if-eqz v0, :cond_d
const/4 v0, 0x0
.line 2
iput-boolean v0, p0, Lio/reactivex/internal/operators/observable/qa$a;->d:Z
.line 3
iget-object v0, p0, Lio/reactivex/internal/operators/observable/qa$a;->b:Lio/reactivex/u;
invoke-interface {v0, p0}, Lio/reactivex/u;->subscribe(Lio/reactivex/w;)V
goto :goto_12
.line 4
:cond_d
iget-object v0, p0, Lio/reactivex/internal/operators/observable/qa$a;->a:Lio/reactivex/w;
invoke-interface {v0}, Lio/reactivex/w;->onComplete()V
:goto_12
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.registers 3
.line 1
iget-object v0, p0, Lio/reactivex/internal/operators/observable/qa$a;->a:Lio/reactivex/w;
invoke-interface {v0, p1}, Lio/reactivex/w;->onError(Ljava/lang/Throwable;)V
return-void
.end method
.method public 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/operators/observable/qa$a;->d:Z
if-eqz v0, :cond_7
const/4 v0, 0x0
.line 2
iput-boolean v0, p0, Lio/reactivex/internal/operators/observable/qa$a;->d:Z
.line 3
:cond_7
iget-object v0, p0, Lio/reactivex/internal/operators/observable/qa$a;->a:Lio/reactivex/w;
invoke-interface {v0, p1}, Lio/reactivex/w;->onNext(Ljava/lang/Object;)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/observable/qa$a;->c:Lio/reactivex/internal/disposables/SequentialDisposable;
invoke-virtual {v0, p1}, Lio/reactivex/internal/disposables/SequentialDisposable;->update(Lio/reactivex/disposables/b;)Z
return-void
.end method