Class BehaviorSubject.BehaviorDisposable<T>

java.lang.Object
io.reactivex.rxjava3.subjects.BehaviorSubject.BehaviorDisposable<T>
All Implemented Interfaces:
Disposable, Predicate<Object>, AppendOnlyLinkedArrayList.NonThrowingPredicate<Object>
Enclosing class:
BehaviorSubject<T>

static final class BehaviorSubject.BehaviorDisposable<T> extends Object implements Disposable, AppendOnlyLinkedArrayList.NonThrowingPredicate<Object>
  • 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
    • emitFirst

      void emitFirst()
    • emitNext

      void emitNext(Object value, long stateIndex)
    • test

      public boolean test(Object o)
      Description copied from interface: Predicate
      Test the given input value and return a boolean.
      Specified by:
      test in interface AppendOnlyLinkedArrayList.NonThrowingPredicate<T>
      Specified by:
      test in interface Predicate<T>
      Parameters:
      o - the value
      Returns:
      the boolean result
    • emitLoop

      void emitLoop()