.class public abstract Lsh/a; .super Ljava/lang/Object; .source "BasicFuseableObserver.java" # interfaces .implements Lkh/g0; .implements Lrh/j; # annotations .annotation system Ldalvik/annotation/Signature; value = { "", "Ljava/lang/Object;", "Lkh/g0<", "TT;>;", "Lrh/j<", "TR;>;" } .end annotation # instance fields .field public final a:Lkh/g0; .annotation system Ldalvik/annotation/Signature; value = { "Lkh/g0<", "-TR;>;" } .end annotation .end field .field public b:Lio/reactivex/disposables/b; .field public c:Lrh/j; .annotation system Ldalvik/annotation/Signature; value = { "Lrh/j<", "TT;>;" } .end annotation .end field .field public d:Z .field public e:I # direct methods .method public constructor (Lkh/g0;)V .locals 0 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lkh/g0<", "-TR;>;)V" } .end annotation .line 1 invoke-direct {p0}, Ljava/lang/Object;->()V .line 2 iput-object p1, p0, Lsh/a;->a:Lkh/g0; return-void .end method # virtual methods .method public a()V .locals 0 return-void .end method .method public b()Z .locals 1 const/4 v0, 0x1 return v0 .end method .method public final c(Ljava/lang/Throwable;)V .locals 1 .line 1 invoke-static {p1}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V .line 2 iget-object v0, p0, Lsh/a;->b:Lio/reactivex/disposables/b; invoke-interface {v0}, Lio/reactivex/disposables/b;->dispose()V .line 3 invoke-virtual {p0, p1}, Lsh/a;->onError(Ljava/lang/Throwable;)V return-void .end method .method public clear()V .locals 1 .line 1 iget-object v0, p0, Lsh/a;->c:Lrh/j; invoke-interface {v0}, Lrh/o;->clear()V return-void .end method .method public final d(I)I .locals 2 .line 1 iget-object v0, p0, Lsh/a;->c:Lrh/j; if-eqz v0, :cond_1 and-int/lit8 v1, p1, 0x4 if-nez v1, :cond_1 .line 2 invoke-interface {v0, p1}, Lrh/k;->requestFusion(I)I move-result p1 if-eqz p1, :cond_0 .line 3 iput p1, p0, Lsh/a;->e:I :cond_0 return p1 :cond_1 const/4 p1, 0x0 return p1 .end method .method public dispose()V .locals 1 .line 1 iget-object v0, p0, Lsh/a;->b:Lio/reactivex/disposables/b; invoke-interface {v0}, Lio/reactivex/disposables/b;->dispose()V return-void .end method .method public isDisposed()Z .locals 1 .line 1 iget-object v0, p0, Lsh/a;->b:Lio/reactivex/disposables/b; invoke-interface {v0}, Lio/reactivex/disposables/b;->isDisposed()Z move-result v0 return v0 .end method .method public isEmpty()Z .locals 1 .line 1 iget-object v0, p0, Lsh/a;->c:Lrh/j; invoke-interface {v0}, Lrh/o;->isEmpty()Z move-result v0 return v0 .end method .method public final offer(Ljava/lang/Object;)Z .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(TR;)Z" } .end annotation .line 1 new-instance p1, Ljava/lang/UnsupportedOperationException; const-string v0, "Should not be called!" invoke-direct {p1, v0}, Ljava/lang/UnsupportedOperationException;->(Ljava/lang/String;)V throw p1 .end method .method public final offer(Ljava/lang/Object;Ljava/lang/Object;)Z .locals 0 .annotation system Ldalvik/annotation/Signature; value = { "(TR;TR;)Z" } .end annotation .line 2 new-instance p1, Ljava/lang/UnsupportedOperationException; const-string p2, "Should not be called!" invoke-direct {p1, p2}, Ljava/lang/UnsupportedOperationException;->(Ljava/lang/String;)V throw p1 .end method .method public onComplete()V .locals 1 .line 1 iget-boolean v0, p0, Lsh/a;->d:Z if-eqz v0, :cond_0 return-void :cond_0 const/4 v0, 0x1 .line 2 iput-boolean v0, p0, Lsh/a;->d:Z .line 3 iget-object v0, p0, Lsh/a;->a:Lkh/g0; invoke-interface {v0}, Lkh/g0;->onComplete()V return-void .end method .method public onError(Ljava/lang/Throwable;)V .locals 1 .line 1 iget-boolean v0, p0, Lsh/a;->d:Z if-eqz v0, :cond_0 .line 2 invoke-static {p1}, Lwh/a;->Y(Ljava/lang/Throwable;)V return-void :cond_0 const/4 v0, 0x1 .line 3 iput-boolean v0, p0, Lsh/a;->d:Z .line 4 iget-object v0, p0, Lsh/a;->a:Lkh/g0; invoke-interface {v0, p1}, Lkh/g0;->onError(Ljava/lang/Throwable;)V return-void .end method .method public final onSubscribe(Lio/reactivex/disposables/b;)V .locals 1 .line 1 iget-object v0, p0, Lsh/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_1 .line 2 iput-object p1, p0, Lsh/a;->b:Lio/reactivex/disposables/b; .line 3 instance-of v0, p1, Lrh/j; if-eqz v0, :cond_0 .line 4 check-cast p1, Lrh/j; iput-object p1, p0, Lsh/a;->c:Lrh/j; .line 5 :cond_0 invoke-virtual {p0}, Lsh/a;->b()Z move-result p1 if-eqz p1, :cond_1 .line 6 iget-object p1, p0, Lsh/a;->a:Lkh/g0; invoke-interface {p1, p0}, Lkh/g0;->onSubscribe(Lio/reactivex/disposables/b;)V .line 7 invoke-virtual {p0}, Lsh/a;->a()V :cond_1 return-void .end method