V$a.smali
.class final Lio/reactivex/internal/operators/observable/V$a;
.super Ljava/lang/Object;
.source "ObservableLastMaybe.java"
# interfaces
.implements Lio/reactivex/w;
.implements Lio/reactivex/disposables/b;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/operators/observable/V;
.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;>;",
"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:Lio/reactivex/disposables/b;
.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/observable/V$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/observable/V$a;->b:Lio/reactivex/disposables/b;
invoke-interface {v0}, Lio/reactivex/disposables/b;->dispose()V
.line 2
sget-object v0, Lio/reactivex/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
iput-object v0, p0, Lio/reactivex/internal/operators/observable/V$a;->b:Lio/reactivex/disposables/b;
return-void
.end method
.method public isDisposed()Z
.registers 3
.line 1
iget-object v0, p0, Lio/reactivex/internal/operators/observable/V$a;->b:Lio/reactivex/disposables/b;
sget-object v1, Lio/reactivex/internal/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
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/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
iput-object v0, p0, Lio/reactivex/internal/operators/observable/V$a;->b:Lio/reactivex/disposables/b;
.line 2
iget-object v0, p0, Lio/reactivex/internal/operators/observable/V$a;->c:Ljava/lang/Object;
if-eqz v0, :cond_11
const/4 v1, 0x0
.line 3
iput-object v1, p0, Lio/reactivex/internal/operators/observable/V$a;->c:Ljava/lang/Object;
.line 4
iget-object v1, p0, Lio/reactivex/internal/operators/observable/V$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/observable/V$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/disposables/DisposableHelper;->DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
iput-object v0, p0, Lio/reactivex/internal/operators/observable/V$a;->b:Lio/reactivex/disposables/b;
const/4 v0, 0x0
.line 2
iput-object v0, p0, Lio/reactivex/internal/operators/observable/V$a;->c:Ljava/lang/Object;
.line 3
iget-object v0, p0, Lio/reactivex/internal/operators/observable/V$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/observable/V$a;->c:Ljava/lang/Object;
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/V$a;->b:Lio/reactivex/disposables/b;
invoke-static {v0, p1}, Lio/reactivex/internal/disposables/DisposableHelper;->validate(Lio/reactivex/disposables/b;Lio/reactivex/disposables/b;)Z
move-result v0
if-eqz v0, :cond_f
.line 2
iput-object p1, p0, Lio/reactivex/internal/operators/observable/V$a;->b:Lio/reactivex/disposables/b;
.line 3
iget-object p1, p0, Lio/reactivex/internal/operators/observable/V$a;->a:Lio/reactivex/k;
invoke-interface {p1, p0}, Lio/reactivex/k;->onSubscribe(Lio/reactivex/disposables/b;)V
:cond_f
return-void
.end method