public final class io.reactivex.internal.observers.FutureObserver<T> extends java.util.concurrent.CountDownLatch implements io.reactivex.Observer<T>, java.util.concurrent.Future<T>, io.reactivex.disposables.Disposable
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: io.reactivex.internal.observers.FutureObserver
  super_class: java.util.concurrent.CountDownLatch
{
  T value;
    descriptor: Ljava/lang/Object;
    flags: (0x0000) 
    Signature: TT;

  java.lang.Throwable error;
    descriptor: Ljava/lang/Throwable;
    flags: (0x0000) 

  final java.util.concurrent.atomic.AtomicReference<io.reactivex.disposables.Disposable> upstream;
    descriptor: Ljava/util/concurrent/atomic/AtomicReference;
    flags: (0x0010) ACC_FINAL
    Signature: Ljava/util/concurrent/atomic/AtomicReference<Lio/reactivex/disposables/Disposable;>;

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // io.reactivex.internal.observers.FutureObserver this
         0: .line 43
            aload 0 /* this */
            iconst_1
            invokespecial java.util.concurrent.CountDownLatch.<init>:(I)V
         1: .line 44
            aload 0 /* this */
            new java.util.concurrent.atomic.AtomicReference
            dup
            invokespecial java.util.concurrent.atomic.AtomicReference.<init>:()V
            putfield io.reactivex.internal.observers.FutureObserver.upstream:Ljava/util/concurrent/atomic/AtomicReference;
         2: .line 45
            return
        end local 0 // io.reactivex.internal.observers.FutureObserver this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lio/reactivex/internal/observers/FutureObserver<TT;>;

  public boolean cancel(boolean);
    descriptor: (Z)Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // io.reactivex.internal.observers.FutureObserver this
        start local 1 // boolean mayInterruptIfRunning
         0: .line 50
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield io.reactivex.internal.observers.FutureObserver.upstream:Ljava/util/concurrent/atomic/AtomicReference;
            invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
            checkcast io.reactivex.disposables.Disposable
            astore 2 /* a */
        start local 2 // io.reactivex.disposables.Disposable a
         1: .line 51
            aload 2 /* a */
            aload 0 /* this */
            if_acmpeq 2
            aload 2 /* a */
            getstatic io.reactivex.internal.disposables.DisposableHelper.DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
            if_acmpne 3
         2: .line 52
      StackMap locals: io.reactivex.disposables.Disposable
      StackMap stack:
            iconst_0
            ireturn
         3: .line 55
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield io.reactivex.internal.observers.FutureObserver.upstream:Ljava/util/concurrent/atomic/AtomicReference;
            aload 2 /* a */
            getstatic io.reactivex.internal.disposables.DisposableHelper.DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
            invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
            ifeq 0
         4: .line 56
            aload 2 /* a */
            ifnull 6
         5: .line 57
            aload 2 /* a */
            invokeinterface io.reactivex.disposables.Disposable.dispose:()V
         6: .line 59
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual io.reactivex.internal.observers.FutureObserver.countDown:()V
         7: .line 60
            iconst_1
            ireturn
        end local 2 // io.reactivex.disposables.Disposable a
        end local 1 // boolean mayInterruptIfRunning
        end local 0 // io.reactivex.internal.observers.FutureObserver this
      LocalVariableTable:
        Start  End  Slot                   Name  Signature
            0    8     0                   this  Lio/reactivex/internal/observers/FutureObserver<TT;>;
            0    8     1  mayInterruptIfRunning  Z
            1    8     2                      a  Lio/reactivex/disposables/Disposable;
    MethodParameters:
                       Name  Flags
      mayInterruptIfRunning  

  public boolean isCancelled();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // io.reactivex.internal.observers.FutureObserver this
         0: .line 67
            aload 0 /* this */
            getfield io.reactivex.internal.observers.FutureObserver.upstream:Ljava/util/concurrent/atomic/AtomicReference;
            invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
            checkcast io.reactivex.disposables.Disposable
            invokestatic io.reactivex.internal.disposables.DisposableHelper.isDisposed:(Lio/reactivex/disposables/Disposable;)Z
            ireturn
        end local 0 // io.reactivex.internal.observers.FutureObserver this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lio/reactivex/internal/observers/FutureObserver<TT;>;

  public boolean isDone();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // io.reactivex.internal.observers.FutureObserver this
         0: .line 72
            aload 0 /* this */
            invokevirtual io.reactivex.internal.observers.FutureObserver.getCount:()J
            lconst_0
            lcmp
            ifne 1
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         1: iconst_0
            ireturn
        end local 0 // io.reactivex.internal.observers.FutureObserver this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lio/reactivex/internal/observers/FutureObserver<TT;>;

  public T get();
    descriptor: ()Ljava/lang/Object;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=1
        start local 0 // io.reactivex.internal.observers.FutureObserver this
         0: .line 77
            aload 0 /* this */
            invokevirtual io.reactivex.internal.observers.FutureObserver.getCount:()J
            lconst_0
            lcmp
            ifeq 3
         1: .line 78
            invokestatic io.reactivex.internal.util.BlockingHelper.verifyNonBlocking:()V
         2: .line 79
            aload 0 /* this */
            invokevirtual io.reactivex.internal.observers.FutureObserver.await:()V
         3: .line 82
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual io.reactivex.internal.observers.FutureObserver.isCancelled:()Z
            ifeq 5
         4: .line 83
            new java.util.concurrent.CancellationException
            dup
            invokespecial java.util.concurrent.CancellationException.<init>:()V
            athrow
         5: .line 85
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield io.reactivex.internal.observers.FutureObserver.error:Ljava/lang/Throwable;
            astore 1 /* ex */
        start local 1 // java.lang.Throwable ex
         6: .line 86
            aload 1 /* ex */
            ifnull 8
         7: .line 87
            new java.util.concurrent.ExecutionException
            dup
            aload 1 /* ex */
            invokespecial java.util.concurrent.ExecutionException.<init>:(Ljava/lang/Throwable;)V
            athrow
         8: .line 89
      StackMap locals: java.lang.Throwable
      StackMap stack:
            aload 0 /* this */
            getfield io.reactivex.internal.observers.FutureObserver.value:Ljava/lang/Object;
            areturn
        end local 1 // java.lang.Throwable ex
        end local 0 // io.reactivex.internal.observers.FutureObserver this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    9     0  this  Lio/reactivex/internal/observers/FutureObserver<TT;>;
            6    9     1    ex  Ljava/lang/Throwable;
    Exceptions:
      throws java.lang.InterruptedException, java.util.concurrent.ExecutionException
    Signature: ()TT;

  public T get(long, java.util.concurrent.TimeUnit);
    descriptor: (JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=5, args_size=3
        start local 0 // io.reactivex.internal.observers.FutureObserver this
        start local 1 // long timeout
        start local 3 // java.util.concurrent.TimeUnit unit
         0: .line 94
            aload 0 /* this */
            invokevirtual io.reactivex.internal.observers.FutureObserver.getCount:()J
            lconst_0
            lcmp
            ifeq 4
         1: .line 95
            invokestatic io.reactivex.internal.util.BlockingHelper.verifyNonBlocking:()V
         2: .line 96
            aload 0 /* this */
            lload 1 /* timeout */
            aload 3 /* unit */
            invokevirtual io.reactivex.internal.observers.FutureObserver.await:(JLjava/util/concurrent/TimeUnit;)Z
            ifne 4
         3: .line 97
            new java.util.concurrent.TimeoutException
            dup
            lload 1 /* timeout */
            aload 3 /* unit */
            invokestatic io.reactivex.internal.util.ExceptionHelper.timeoutMessage:(JLjava/util/concurrent/TimeUnit;)Ljava/lang/String;
            invokespecial java.util.concurrent.TimeoutException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 101
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual io.reactivex.internal.observers.FutureObserver.isCancelled:()Z
            ifeq 6
         5: .line 102
            new java.util.concurrent.CancellationException
            dup
            invokespecial java.util.concurrent.CancellationException.<init>:()V
            athrow
         6: .line 105
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield io.reactivex.internal.observers.FutureObserver.error:Ljava/lang/Throwable;
            astore 4 /* ex */
        start local 4 // java.lang.Throwable ex
         7: .line 106
            aload 4 /* ex */
            ifnull 9
         8: .line 107
            new java.util.concurrent.ExecutionException
            dup
            aload 4 /* ex */
            invokespecial java.util.concurrent.ExecutionException.<init>:(Ljava/lang/Throwable;)V
            athrow
         9: .line 109
      StackMap locals: java.lang.Throwable
      StackMap stack:
            aload 0 /* this */
            getfield io.reactivex.internal.observers.FutureObserver.value:Ljava/lang/Object;
            areturn
        end local 4 // java.lang.Throwable ex
        end local 3 // java.util.concurrent.TimeUnit unit
        end local 1 // long timeout
        end local 0 // io.reactivex.internal.observers.FutureObserver this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   10     0     this  Lio/reactivex/internal/observers/FutureObserver<TT;>;
            0   10     1  timeout  J
            0   10     3     unit  Ljava/util/concurrent/TimeUnit;
            7   10     4       ex  Ljava/lang/Throwable;
    Exceptions:
      throws java.lang.InterruptedException, java.util.concurrent.ExecutionException, java.util.concurrent.TimeoutException
    Signature: (JLjava/util/concurrent/TimeUnit;)TT;
    MethodParameters:
         Name  Flags
      timeout  
      unit     

  public void onSubscribe(io.reactivex.disposables.Disposable);
    descriptor: (Lio/reactivex/disposables/Disposable;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // io.reactivex.internal.observers.FutureObserver this
        start local 1 // io.reactivex.disposables.Disposable d
         0: .line 114
            aload 0 /* this */
            getfield io.reactivex.internal.observers.FutureObserver.upstream:Ljava/util/concurrent/atomic/AtomicReference;
            aload 1 /* d */
            invokestatic io.reactivex.internal.disposables.DisposableHelper.setOnce:(Ljava/util/concurrent/atomic/AtomicReference;Lio/reactivex/disposables/Disposable;)Z
            pop
         1: .line 115
            return
        end local 1 // io.reactivex.disposables.Disposable d
        end local 0 // io.reactivex.internal.observers.FutureObserver this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lio/reactivex/internal/observers/FutureObserver<TT;>;
            0    2     1     d  Lio/reactivex/disposables/Disposable;
    MethodParameters:
      Name  Flags
      d     

  public void onNext();
    descriptor: (Ljava/lang/Object;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // io.reactivex.internal.observers.FutureObserver this
        start local 1 // java.lang.Object t
         0: .line 119
            aload 0 /* this */
            getfield io.reactivex.internal.observers.FutureObserver.value:Ljava/lang/Object;
            ifnull 4
         1: .line 120
            aload 0 /* this */
            getfield io.reactivex.internal.observers.FutureObserver.upstream:Ljava/util/concurrent/atomic/AtomicReference;
            invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
            checkcast io.reactivex.disposables.Disposable
            invokeinterface io.reactivex.disposables.Disposable.dispose:()V
         2: .line 121
            aload 0 /* this */
            new java.lang.IndexOutOfBoundsException
            dup
            ldc "More than one element received"
            invokespecial java.lang.IndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
            invokevirtual io.reactivex.internal.observers.FutureObserver.onError:(Ljava/lang/Throwable;)V
         3: .line 122
            return
         4: .line 124
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* t */
            putfield io.reactivex.internal.observers.FutureObserver.value:Ljava/lang/Object;
         5: .line 125
            return
        end local 1 // java.lang.Object t
        end local 0 // io.reactivex.internal.observers.FutureObserver this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Lio/reactivex/internal/observers/FutureObserver<TT;>;
            0    6     1     t  TT;
    Signature: (TT;)V
    MethodParameters:
      Name  Flags
      t     

  public void onError(java.lang.Throwable);
    descriptor: (Ljava/lang/Throwable;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // io.reactivex.internal.observers.FutureObserver this
        start local 1 // java.lang.Throwable t
         0: .line 129
            aload 0 /* this */
            getfield io.reactivex.internal.observers.FutureObserver.error:Ljava/lang/Throwable;
            ifnonnull 9
         1: .line 130
            aload 0 /* this */
            aload 1 /* t */
            putfield io.reactivex.internal.observers.FutureObserver.error:Ljava/lang/Throwable;
         2: .line 133
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield io.reactivex.internal.observers.FutureObserver.upstream:Ljava/util/concurrent/atomic/AtomicReference;
            invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
            checkcast io.reactivex.disposables.Disposable
            astore 2 /* a */
        start local 2 // io.reactivex.disposables.Disposable a
         3: .line 134
            aload 2 /* a */
            aload 0 /* this */
            if_acmpeq 4
            aload 2 /* a */
            getstatic io.reactivex.internal.disposables.DisposableHelper.DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
            if_acmpne 6
         4: .line 135
      StackMap locals: io.reactivex.disposables.Disposable
      StackMap stack:
            aload 1 /* t */
            invokestatic io.reactivex.plugins.RxJavaPlugins.onError:(Ljava/lang/Throwable;)V
         5: .line 136
            return
         6: .line 138
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield io.reactivex.internal.observers.FutureObserver.upstream:Ljava/util/concurrent/atomic/AtomicReference;
            aload 2 /* a */
            aload 0 /* this */
            invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
            ifeq 2
         7: .line 139
            aload 0 /* this */
            invokevirtual io.reactivex.internal.observers.FutureObserver.countDown:()V
         8: .line 140
            return
        end local 2 // io.reactivex.disposables.Disposable a
         9: .line 144
      StackMap locals:
      StackMap stack:
            aload 1 /* t */
            invokestatic io.reactivex.plugins.RxJavaPlugins.onError:(Ljava/lang/Throwable;)V
        10: .line 146
            return
        end local 1 // java.lang.Throwable t
        end local 0 // io.reactivex.internal.observers.FutureObserver this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   11     0  this  Lio/reactivex/internal/observers/FutureObserver<TT;>;
            0   11     1     t  Ljava/lang/Throwable;
            3    9     2     a  Lio/reactivex/disposables/Disposable;
    MethodParameters:
      Name  Flags
      t     

  public void onComplete();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=1
        start local 0 // io.reactivex.internal.observers.FutureObserver this
         0: .line 150
            aload 0 /* this */
            getfield io.reactivex.internal.observers.FutureObserver.value:Ljava/lang/Object;
            ifnonnull 3
         1: .line 151
            aload 0 /* this */
            new java.util.NoSuchElementException
            dup
            ldc "The source is empty"
            invokespecial java.util.NoSuchElementException.<init>:(Ljava/lang/String;)V
            invokevirtual io.reactivex.internal.observers.FutureObserver.onError:(Ljava/lang/Throwable;)V
         2: .line 152
            return
         3: .line 155
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield io.reactivex.internal.observers.FutureObserver.upstream:Ljava/util/concurrent/atomic/AtomicReference;
            invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
            checkcast io.reactivex.disposables.Disposable
            astore 1 /* a */
        start local 1 // io.reactivex.disposables.Disposable a
         4: .line 156
            aload 1 /* a */
            aload 0 /* this */
            if_acmpeq 5
            aload 1 /* a */
            getstatic io.reactivex.internal.disposables.DisposableHelper.DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
            if_acmpne 6
         5: .line 157
      StackMap locals: io.reactivex.disposables.Disposable
      StackMap stack:
            return
         6: .line 159
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield io.reactivex.internal.observers.FutureObserver.upstream:Ljava/util/concurrent/atomic/AtomicReference;
            aload 1 /* a */
            aload 0 /* this */
            invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
            ifeq 3
         7: .line 160
            aload 0 /* this */
            invokevirtual io.reactivex.internal.observers.FutureObserver.countDown:()V
         8: .line 161
            return
        end local 1 // io.reactivex.disposables.Disposable a
        end local 0 // io.reactivex.internal.observers.FutureObserver this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    9     0  this  Lio/reactivex/internal/observers/FutureObserver<TT;>;
            4    9     1     a  Lio/reactivex/disposables/Disposable;

  public void dispose();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=0, locals=1, args_size=1
        start local 0 // io.reactivex.internal.observers.FutureObserver this
         0: .line 169
            return
        end local 0 // io.reactivex.internal.observers.FutureObserver this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lio/reactivex/internal/observers/FutureObserver<TT;>;

  public boolean isDisposed();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // io.reactivex.internal.observers.FutureObserver this
         0: .line 173
            aload 0 /* this */
            invokevirtual io.reactivex.internal.observers.FutureObserver.isDone:()Z
            ireturn
        end local 0 // io.reactivex.internal.observers.FutureObserver this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lio/reactivex/internal/observers/FutureObserver<TT;>;
}
Signature: <T:Ljava/lang/Object;>Ljava/util/concurrent/CountDownLatch;Lio/reactivex/Observer<TT;>;Ljava/util/concurrent/Future<TT;>;Lio/reactivex/disposables/Disposable;
SourceFile: "FutureObserver.java"