2022-06-10 21:38:30 +09:00

174 lines
3.9 KiB
Smali

.class public final Lio/reactivex/internal/operators/flowable/c1$a;
.super Ljava/lang/Object;
.source "FlowableSwitchIfEmpty.java"
# interfaces
.implements Lkh/o;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/operators/flowable/c1;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "a"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lkh/o<",
"TT;>;"
}
.end annotation
# instance fields
.field public final a:Lok/d;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lok/d<",
"-TT;>;"
}
.end annotation
.end field
.field public final b:Lok/c;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lok/c<",
"+TT;>;"
}
.end annotation
.end field
.field public final c:Lio/reactivex/internal/subscriptions/SubscriptionArbiter;
.field public d:Z
# direct methods
.method public constructor <init>(Lok/d;Lok/c;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lok/d<",
"-TT;>;",
"Lok/c<",
"+TT;>;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/operators/flowable/c1$a;->a:Lok/d;
.line 3
iput-object p2, p0, Lio/reactivex/internal/operators/flowable/c1$a;->b:Lok/c;
const/4 p1, 0x1
.line 4
iput-boolean p1, p0, Lio/reactivex/internal/operators/flowable/c1$a;->d:Z
.line 5
new-instance p1, Lio/reactivex/internal/subscriptions/SubscriptionArbiter;
const/4 p2, 0x0
invoke-direct {p1, p2}, Lio/reactivex/internal/subscriptions/SubscriptionArbiter;-><init>(Z)V
iput-object p1, p0, Lio/reactivex/internal/operators/flowable/c1$a;->c:Lio/reactivex/internal/subscriptions/SubscriptionArbiter;
return-void
.end method
# virtual methods
.method public onComplete()V
.locals 1
.line 1
iget-boolean v0, p0, Lio/reactivex/internal/operators/flowable/c1$a;->d:Z
if-eqz v0, :cond_0
const/4 v0, 0x0
.line 2
iput-boolean v0, p0, Lio/reactivex/internal/operators/flowable/c1$a;->d:Z
.line 3
iget-object v0, p0, Lio/reactivex/internal/operators/flowable/c1$a;->b:Lok/c;
invoke-interface {v0, p0}, Lok/c;->subscribe(Lok/d;)V
goto :goto_0
.line 4
:cond_0
iget-object v0, p0, Lio/reactivex/internal/operators/flowable/c1$a;->a:Lok/d;
invoke-interface {v0}, Lok/d;->onComplete()V
:goto_0
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.locals 1
.line 1
iget-object v0, p0, Lio/reactivex/internal/operators/flowable/c1$a;->a:Lok/d;
invoke-interface {v0, p1}, Lok/d;->onError(Ljava/lang/Throwable;)V
return-void
.end method
.method public onNext(Ljava/lang/Object;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 1
iget-boolean v0, p0, Lio/reactivex/internal/operators/flowable/c1$a;->d:Z
if-eqz v0, :cond_0
const/4 v0, 0x0
.line 2
iput-boolean v0, p0, Lio/reactivex/internal/operators/flowable/c1$a;->d:Z
.line 3
:cond_0
iget-object v0, p0, Lio/reactivex/internal/operators/flowable/c1$a;->a:Lok/d;
invoke-interface {v0, p1}, Lok/d;->onNext(Ljava/lang/Object;)V
return-void
.end method
.method public onSubscribe(Lok/e;)V
.locals 1
.line 1
iget-object v0, p0, Lio/reactivex/internal/operators/flowable/c1$a;->c:Lio/reactivex/internal/subscriptions/SubscriptionArbiter;
invoke-virtual {v0, p1}, Lio/reactivex/internal/subscriptions/SubscriptionArbiter;->setSubscription(Lok/e;)V
return-void
.end method