.class abstract Lio/reactivex/disposables/ReferenceDisposable; .super Ljava/util/concurrent/atomic/AtomicReference; .source "ReferenceDisposable.java" # interfaces .implements Lio/reactivex/disposables/Disposable; # annotations .annotation system Ldalvik/annotation/Signature; value = { "", "Ljava/util/concurrent/atomic/AtomicReference<", "TT;>;", "Lio/reactivex/disposables/Disposable;" } .end annotation # static fields .field private static final serialVersionUID:J = 0x5abac7da20d0ae41L # direct methods .method constructor (Ljava/lang/Object;)V .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(TT;)V" } .end annotation const-string v0, "value is null" .line 31 invoke-static {p1, v0}, Lio/reactivex/internal/functions/ObjectHelper;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; move-result-object p1 invoke-direct {p0, p1}, Ljava/util/concurrent/atomic/AtomicReference;->(Ljava/lang/Object;)V return-void .end method # virtual methods .method public final dispose()V .locals 1 .line 38 invoke-virtual {p0}, Lio/reactivex/disposables/ReferenceDisposable;->get()Ljava/lang/Object; move-result-object v0 if-eqz v0, :cond_0 const/4 v0, 0x0 .line 40 invoke-virtual {p0, v0}, Lio/reactivex/disposables/ReferenceDisposable;->getAndSet(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 if-eqz v0, :cond_0 .line 42 invoke-virtual {p0, v0}, Lio/reactivex/disposables/ReferenceDisposable;->onDisposed(Ljava/lang/Object;)V :cond_0 return-void .end method .method public final isDisposed()Z .locals 1 .line 49 invoke-virtual {p0}, Lio/reactivex/disposables/ReferenceDisposable;->get()Ljava/lang/Object; move-result-object v0 if-nez v0, :cond_0 const/4 v0, 0x1 goto :goto_0 :cond_0 const/4 v0, 0x0 :goto_0 return v0 .end method .method protected abstract onDisposed(Ljava/lang/Object;)V .annotation system Ldalvik/annotation/Signature; value = { "(TT;)V" } .end annotation .end method