Class SingleSubject.SingleDisposable<T>

java.lang.Object
java.util.concurrent.atomic.AtomicReference<SingleSubject<T>>
io.reactivex.rxjava3.subjects.SingleSubject.SingleDisposable<T>
All Implemented Interfaces:
Disposable, Serializable
Enclosing class:
SingleSubject<T>

static final class SingleSubject.SingleDisposable<T> extends AtomicReference<SingleSubject<T>> implements Disposable
  • Field Details

  • Constructor Details

  • Method Details

    • dispose

      public void dispose()
      Description copied from interface: Disposable
      Dispose the resource, the operation should be idempotent.
      Specified by:
      dispose in interface Disposable
    • isDisposed

      public boolean isDisposed()
      Description copied from interface: Disposable
      Returns true if this resource has been disposed.
      Specified by:
      isDisposed in interface Disposable
      Returns:
      true if this resource has been disposed