ObservableSwitchIfEmpty.smali
.class public final Lio/reactivex/internal/operators/observable/ObservableSwitchIfEmpty;
.super Lio/reactivex/internal/operators/observable/AbstractObservableWithUpstream;
.source "ObservableSwitchIfEmpty.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lio/reactivex/internal/operators/observable/ObservableSwitchIfEmpty$SwitchIfEmptyObserver;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Lio/reactivex/internal/operators/observable/AbstractObservableWithUpstream<",
"TT;TT;>;"
}
.end annotation
# instance fields
.field final other:Lio/reactivex/ObservableSource;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lio/reactivex/ObservableSource<",
"+TT;>;"
}
.end annotation
.end field
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method public constructor <init>(Lio/reactivex/ObservableSource;Lio/reactivex/ObservableSource;)V
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lio/reactivex/ObservableSource<",
"TT;>;",
"Lio/reactivex/ObservableSource<",
"+TT;>;)V"
}
.end annotation
.line 23
.local p0, "this":Lio/reactivex/internal/operators/observable/ObservableSwitchIfEmpty;, "Lio/reactivex/internal/operators/observable/ObservableSwitchIfEmpty<TT;>;"
.local p1, "source":Lio/reactivex/ObservableSource;, "Lio/reactivex/ObservableSource<TT;>;"
.local p2, "other":Lio/reactivex/ObservableSource;, "Lio/reactivex/ObservableSource<+TT;>;"
invoke-direct {p0, p1}, Lio/reactivex/internal/operators/observable/AbstractObservableWithUpstream;-><init>(Lio/reactivex/ObservableSource;)V
.line 24
iput-object p2, p0, Lio/reactivex/internal/operators/observable/ObservableSwitchIfEmpty;->other:Lio/reactivex/ObservableSource;
.line 25
return-void
.end method
# virtual methods
.method public subscribeActual(Lio/reactivex/Observer;)V
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lio/reactivex/Observer<",
"-TT;>;)V"
}
.end annotation
.line 29
.local p0, "this":Lio/reactivex/internal/operators/observable/ObservableSwitchIfEmpty;, "Lio/reactivex/internal/operators/observable/ObservableSwitchIfEmpty<TT;>;"
.local p1, "t":Lio/reactivex/Observer;, "Lio/reactivex/Observer<-TT;>;"
new-instance v0, Lio/reactivex/internal/operators/observable/ObservableSwitchIfEmpty$SwitchIfEmptyObserver;
iget-object v1, p0, Lio/reactivex/internal/operators/observable/ObservableSwitchIfEmpty;->other:Lio/reactivex/ObservableSource;
invoke-direct {v0, p1, v1}, Lio/reactivex/internal/operators/observable/ObservableSwitchIfEmpty$SwitchIfEmptyObserver;-><init>(Lio/reactivex/Observer;Lio/reactivex/ObservableSource;)V
.line 30
.local v0, "parent":Lio/reactivex/internal/operators/observable/ObservableSwitchIfEmpty$SwitchIfEmptyObserver;, "Lio/reactivex/internal/operators/observable/ObservableSwitchIfEmpty$SwitchIfEmptyObserver<TT;>;"
iget-object v1, v0, Lio/reactivex/internal/operators/observable/ObservableSwitchIfEmpty$SwitchIfEmptyObserver;->arbiter:Lio/reactivex/internal/disposables/SequentialDisposable;
invoke-interface {p1, v1}, Lio/reactivex/Observer;->onSubscribe(Lio/reactivex/disposables/Disposable;)V
.line 31
iget-object v1, p0, Lio/reactivex/internal/operators/observable/ObservableSwitchIfEmpty;->source:Lio/reactivex/ObservableSource;
invoke-interface {v1, v0}, Lio/reactivex/ObservableSource;->subscribe(Lio/reactivex/Observer;)V
.line 32
return-void
.end method