test_class.file: rxjava/src/test/java/io/reactivex/internal/observers/BlockingObserverTest.java
test_class.identifier: BlockingObserverTest
test_case.body: @Test
      public void dispose() {
          Queue<Object> q = new ArrayDeque<Object>();
  
          BlockingObserver<Object> bo = new BlockingObserver<Object>(q);
  
          bo.dispose();
  
          assertEquals(BlockingObserver.TERMINATED, q.poll());
  
          bo.dispose();
  
          assertNull(q.poll());
      }
test_case.class_method_signature: BlockingObserverTest.dispose()
test_case.full_signature: @Test public void dispose()
test_case.identifier: dispose
test_case.invocations: dispose assertEquals poll dispose assertNull poll
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void dispose()
focal_class.declarator: serialVersionUID = -4875965440900746268L
focal_class.modifier: private static final
focal_class.original_string: private static final long serialVersionUID = -4875965440900746268L;
focal_class.type: long
focal_class.var_name: serialVersionUID
focal_class.declarator: TERMINATED = new Object()
focal_class.modifier: public static final
focal_class.original_string: public static final Object TERMINATED = new Object();
focal_class.type: Object
focal_class.var_name: TERMINATED
focal_class.declarator: queue
focal_class.modifier: final
focal_class.original_string: final Queue<Object> queue;
focal_class.type: Queue<Object>
focal_class.var_name: queue
focal_class.file: rxjava/src/main/java/io/reactivex/internal/observers/BlockingObserver.java
focal_class.identifier: BlockingObserver
focal_class.interfaces: implements Observer<T>, Disposable
focal_class.class_method_signature: BlockingObserver.BlockingObserver(Queue<Object> queue)
focal_class.full_signature: public  BlockingObserver(Queue<Object> queue)
focal_class.identifier: BlockingObserver
focal_class.modifiers: public
focal_class.parameters: (Queue<Object> queue)
focal_class.signature:  BlockingObserver(Queue<Object> queue)
focal_class.class_method_signature: BlockingObserver.onSubscribe(Disposable s)
focal_class.full_signature: @Override public void onSubscribe(Disposable s)
focal_class.identifier: onSubscribe
focal_class.modifiers: @Override public
focal_class.parameters: (Disposable s)
focal_class.return: void
focal_class.signature: void onSubscribe(Disposable s)
focal_class.class_method_signature: BlockingObserver.onNext(T t)
focal_class.full_signature: @Override public void onNext(T t)
focal_class.identifier: onNext
focal_class.modifiers: @Override public
focal_class.parameters: (T t)
focal_class.return: void
focal_class.signature: void onNext(T t)
focal_class.class_method_signature: BlockingObserver.onError(Throwable t)
focal_class.full_signature: @Override public void onError(Throwable t)
focal_class.identifier: onError
focal_class.modifiers: @Override public
focal_class.parameters: (Throwable t)
focal_class.return: void
focal_class.signature: void onError(Throwable t)
focal_class.class_method_signature: BlockingObserver.onComplete()
focal_class.full_signature: @Override public void onComplete()
focal_class.identifier: onComplete
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void onComplete()
focal_class.class_method_signature: BlockingObserver.dispose()
focal_class.full_signature: @Override public void dispose()
focal_class.identifier: dispose
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void dispose()
focal_class.class_method_signature: BlockingObserver.isDisposed()
focal_class.full_signature: @Override public boolean isDisposed()
focal_class.identifier: isDisposed
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isDisposed()
focal_class.superclass: extends AtomicReference<Disposable>
focal_method.body: @Override
      public void dispose() {
          if (DisposableHelper.dispose(this)) {
              queue.offer(TERMINATED);
          }
      }
focal_method.class_method_signature: BlockingObserver.dispose()
focal_method.full_signature: @Override public void dispose()
focal_method.identifier: dispose
focal_method.invocations: dispose offer
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: void
focal_method.signature: void dispose()