M$a.smali
.class final Lio/reactivex/internal/operators/observable/M$a;
.super Ljava/lang/Object;
.source "ObservableFromPublisher.java"
# interfaces
.implements Lio/reactivex/h;
.implements Lio/reactivex/disposables/b;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/operators/observable/M;
.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/w;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lio/reactivex/w<",
"-TT;>;"
}
.end annotation
.end field
.field b:Lf/b/d;
# direct methods
.method constructor <init>(Lio/reactivex/w;)V
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lio/reactivex/w<",
"-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/M$a;->a:Lio/reactivex/w;
return-void
.end method
# virtual methods
.method public dispose()V
.registers 2
.line 1
iget-object v0, p0, Lio/reactivex/internal/operators/observable/M$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/observable/M$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/observable/M$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 2
.line 1
iget-object v0, p0, Lio/reactivex/internal/operators/observable/M$a;->a:Lio/reactivex/w;
invoke-interface {v0}, Lio/reactivex/w;->onComplete()V
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.registers 3
.line 1
iget-object v0, p0, Lio/reactivex/internal/operators/observable/M$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-object v0, p0, Lio/reactivex/internal/operators/observable/M$a;->a:Lio/reactivex/w;
invoke-interface {v0, p1}, Lio/reactivex/w;->onNext(Ljava/lang/Object;)V
return-void
.end method
.method public onSubscribe(Lf/b/d;)V
.registers 4
.line 1
iget-object v0, p0, Lio/reactivex/internal/operators/observable/M$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/observable/M$a;->b:Lf/b/d;
.line 3
iget-object v0, p0, Lio/reactivex/internal/operators/observable/M$a;->a:Lio/reactivex/w;
invoke-interface {v0, p0}, Lio/reactivex/w;->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