j$a.smali
.class final Lio/reactivex/internal/operators/flowable/j$a;
.super Ljava/lang/Object;
.source "FlowableLastMaybe.java"
# interfaces
.implements Lio/reactivex/h;
.implements Lio/reactivex/disposables/b;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/operators/flowable/j;
.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/h<",
"TT;>;",
"Lio/reactivex/disposables/b;"
}
.end annotation
# instance fields
.field final a:Lio/reactivex/k;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lio/reactivex/k<",
"-TT;>;"
}
.end annotation
.end field
.field b:Lf/b/d;
.field c:Ljava/lang/Object;
.annotation system Ldalvik/annotation/Signature;
value = {
"TT;"
}
.end annotation
.end field
# direct methods
.method constructor <init>(Lio/reactivex/k;)V
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lio/reactivex/k<",
"-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/j$a;->a:Lio/reactivex/k;
return-void
.end method
# virtual methods
.method public dispose()V
.registers 2
.line 1
iget-object v0, p0, Lio/reactivex/internal/operators/flowable/j$a;->b:Lf/b/d;
invoke-interface {v0}, Lf/b/d;->cancel()V
.line 2
sget-object v0, Lio/reactivex/internal/subscriptions/SubscriptionHelper;->CANCELLED:Lio/reactivex/internal/subscriptions/SubscriptionHelper;
iput-object v0, p0, Lio/reactivex/internal/operators/flowable/j$a;->b:Lf/b/d;
return-void
.end method
.method public isDisposed()Z
.registers 3
.line 1
iget-object v0, p0, Lio/reactivex/internal/operators/flowable/j$a;->b:Lf/b/d;
sget-object v1, Lio/reactivex/internal/subscriptions/SubscriptionHelper;->CANCELLED:Lio/reactivex/internal/subscriptions/SubscriptionHelper;
if-ne v0, v1, :cond_8
const/4 v0, 0x1
goto :goto_9
:cond_8
const/4 v0, 0x0
:goto_9
return v0
.end method
.method public onComplete()V
.registers 3
.line 1
sget-object v0, Lio/reactivex/internal/subscriptions/SubscriptionHelper;->CANCELLED:Lio/reactivex/internal/subscriptions/SubscriptionHelper;
iput-object v0, p0, Lio/reactivex/internal/operators/flowable/j$a;->b:Lf/b/d;
.line 2
iget-object v0, p0, Lio/reactivex/internal/operators/flowable/j$a;->c:Ljava/lang/Object;
if-eqz v0, :cond_11
const/4 v1, 0x0
.line 3
iput-object v1, p0, Lio/reactivex/internal/operators/flowable/j$a;->c:Ljava/lang/Object;
.line 4
iget-object v1, p0, Lio/reactivex/internal/operators/flowable/j$a;->a:Lio/reactivex/k;
invoke-interface {v1, v0}, Lio/reactivex/k;->onSuccess(Ljava/lang/Object;)V
goto :goto_16
.line 5
:cond_11
iget-object v0, p0, Lio/reactivex/internal/operators/flowable/j$a;->a:Lio/reactivex/k;
invoke-interface {v0}, Lio/reactivex/k;->onComplete()V
:goto_16
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.registers 3
.line 1
sget-object v0, Lio/reactivex/internal/subscriptions/SubscriptionHelper;->CANCELLED:Lio/reactivex/internal/subscriptions/SubscriptionHelper;
iput-object v0, p0, Lio/reactivex/internal/operators/flowable/j$a;->b:Lf/b/d;
const/4 v0, 0x0
.line 2
iput-object v0, p0, Lio/reactivex/internal/operators/flowable/j$a;->c:Ljava/lang/Object;
.line 3
iget-object v0, p0, Lio/reactivex/internal/operators/flowable/j$a;->a:Lio/reactivex/k;
invoke-interface {v0, p1}, Lio/reactivex/k;->onError(Ljava/lang/Throwable;)V
return-void
.end method
.method public onNext(Ljava/lang/Object;)V
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 1
iput-object p1, p0, Lio/reactivex/internal/operators/flowable/j$a;->c:Ljava/lang/Object;
return-void
.end method
.method public onSubscribe(Lf/b/d;)V
.registers 4
.line 1
iget-object v0, p0, Lio/reactivex/internal/operators/flowable/j$a;->b:Lf/b/d;
invoke-static {v0, p1}, Lio/reactivex/internal/subscriptions/SubscriptionHelper;->validate(Lf/b/d;Lf/b/d;)Z
move-result v0
if-eqz v0, :cond_17
.line 2
iput-object p1, p0, Lio/reactivex/internal/operators/flowable/j$a;->b:Lf/b/d;
.line 3
iget-object v0, p0, Lio/reactivex/internal/operators/flowable/j$a;->a:Lio/reactivex/k;
invoke-interface {v0, p0}, Lio/reactivex/k;->onSubscribe(Lio/reactivex/disposables/b;)V
const-wide v0, 0x7fffffffffffffffL
.line 4
invoke-interface {p1, v0, v1}, Lf/b/d;->request(J)V
:cond_17
return-void
.end method