public final class io.reactivex.internal.subscribers.FutureSubscriber<T> extends java.util.concurrent.CountDownLatch implements io.reactivex.FlowableSubscriber<T>, java.util.concurrent.Future<T>, org.reactivestreams.Subscription
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: io.reactivex.internal.subscribers.FutureSubscriber
  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<org.reactivestreams.Subscription> upstream;
    descriptor: Ljava/util/concurrent/atomic/AtomicReference;
    flags: (0x0010) ACC_FINAL
    Signature: Ljava/util/concurrent/atomic/AtomicReference<Lorg/reactivestreams/Subscription;>;

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // io.reactivex.internal.subscribers.FutureSubscriber this
         0: .line 44
            aload 0 /* this */
            iconst_1
            invokespecial java.util.concurrent.CountDownLatch.<init>:(I)V
         1: .line 45
            aload 0 /* this */
            new java.util.concurrent.atomic.AtomicReference
            dup
            invokespecial java.util.concurrent.atomic.AtomicReference.<init>:()V
            putfield io.reactivex.internal.subscribers.FutureSubscriber.upstream:Ljava/util/concurrent/atomic/AtomicReference;
         2: .line 46
            return
        end local 0 // io.reactivex.internal.subscribers.FutureSubscriber this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lio/reactivex/internal/subscribers/FutureSubscriber<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.subscribers.FutureSubscriber this
        start local 1 // boolean mayInterruptIfRunning
         0: .line 51
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield io.reactivex.internal.subscribers.FutureSubscriber.upstream:Ljava/util/concurrent/atomic/AtomicReference;
            invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
            checkcast org.reactivestreams.Subscription
            astore 2 /* a */
        start local 2 // org.reactivestreams.Subscription a
         1: .line 52
            aload 2 /* a */
            aload 0 /* this */
            if_acmpeq 2
            aload 2 /* a */
            getstatic io.reactivex.internal.subscriptions.SubscriptionHelper.CANCELLED:Lio/reactivex/internal/subscriptions/SubscriptionHelper;
            if_acmpne 3
         2: .line 53
      StackMap locals: org.reactivestreams.Subscription
      StackMap stack:
            iconst_0
            ireturn
         3: .line 56
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield io.reactivex.internal.subscribers.FutureSubscriber.upstream:Ljava/util/concurrent/atomic/AtomicReference;
            aload 2 /* a */
            getstatic io.reactivex.internal.subscriptions.SubscriptionHelper.CANCELLED:Lio/reactivex/internal/subscriptions/SubscriptionHelper;
            invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
            ifeq 0
         4: .line 57
            aload 2 /* a */
            ifnull 6
         5: .line 58
            aload 2 /* a */
            invokeinterface org.reactivestreams.Subscription.cancel:()V
         6: .line 60
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual io.reactivex.internal.subscribers.FutureSubscriber.countDown:()V
         7: .line 61
            iconst_1
            ireturn
        end local 2 // org.reactivestreams.Subscription a
        end local 1 // boolean mayInterruptIfRunning
        end local 0 // io.reactivex.internal.subscribers.FutureSubscriber this
      LocalVariableTable:
        Start  End  Slot                   Name  Signature
            0    8     0                   this  Lio/reactivex/internal/subscribers/FutureSubscriber<TT;>;
            0    8     1  mayInterruptIfRunning  Z
            1    8     2                      a  Lorg/reactivestreams/Subscription;
    MethodParameters:
                       Name  Flags
      mayInterruptIfRunning  

  public boolean isCancelled();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // io.reactivex.internal.subscribers.FutureSubscriber this
         0: .line 68
            aload 0 /* this */
            getfield io.reactivex.internal.subscribers.FutureSubscriber.upstream:Ljava/util/concurrent/atomic/AtomicReference;
            invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
            getstatic io.reactivex.internal.subscriptions.SubscriptionHelper.CANCELLED:Lio/reactivex/internal/subscriptions/SubscriptionHelper;
            if_acmpne 1
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         1: iconst_0
            ireturn
        end local 0 // io.reactivex.internal.subscribers.FutureSubscriber this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lio/reactivex/internal/subscribers/FutureSubscriber<TT;>;

  public boolean isDone();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // io.reactivex.internal.subscribers.FutureSubscriber this
         0: .line 73
            aload 0 /* this */
            invokevirtual io.reactivex.internal.subscribers.FutureSubscriber.getCount:()J
            lconst_0
            lcmp
            ifne 1
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         1: iconst_0
            ireturn
        end local 0 // io.reactivex.internal.subscribers.FutureSubscriber this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lio/reactivex/internal/subscribers/FutureSubscriber<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.subscribers.FutureSubscriber this
         0: .line 78
            aload 0 /* this */
            invokevirtual io.reactivex.internal.subscribers.FutureSubscriber.getCount:()J
            lconst_0
            lcmp
            ifeq 3
         1: .line 79
            invokestatic io.reactivex.internal.util.BlockingHelper.verifyNonBlocking:()V
         2: .line 80
            aload 0 /* this */
            invokevirtual io.reactivex.internal.subscribers.FutureSubscriber.await:()V
         3: .line 83
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual io.reactivex.internal.subscribers.FutureSubscriber.isCancelled:()Z
            ifeq 5
         4: .line 84
            new java.util.concurrent.CancellationException
            dup
            invokespecial java.util.concurrent.CancellationException.<init>:()V
            athrow
         5: .line 86
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield io.reactivex.internal.subscribers.FutureSubscriber.error:Ljava/lang/Throwable;
            astore 1 /* ex */
        start local 1 // java.lang.Throwable ex
         6: .line 87
            aload 1 /* ex */
            ifnull 8
         7: .line 88
            new java.util.concurrent.ExecutionException
            dup
            aload 1 /* ex */
            invokespecial java.util.concurrent.ExecutionException.<init>:(Ljava/lang/Throwable;)V
            athrow
         8: .line 90
      StackMap locals: java.lang.Throwable
      StackMap stack:
            aload 0 /* this */
            getfield io.reactivex.internal.subscribers.FutureSubscriber.value:Ljava/lang/Object;
            areturn
        end local 1 // java.lang.Throwable ex
        end local 0 // io.reactivex.internal.subscribers.FutureSubscriber this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    9     0  this  Lio/reactivex/internal/subscribers/FutureSubscriber<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.subscribers.FutureSubscriber this
        start local 1 // long timeout
        start local 3 // java.util.concurrent.TimeUnit unit
         0: .line 95
            aload 0 /* this */
            invokevirtual io.reactivex.internal.subscribers.FutureSubscriber.getCount:()J
            lconst_0
            lcmp
            ifeq 4
         1: .line 96
            invokestatic io.reactivex.internal.util.BlockingHelper.verifyNonBlocking:()V
         2: .line 97
            aload 0 /* this */
            lload 1 /* timeout */
            aload 3 /* unit */
            invokevirtual io.reactivex.internal.subscribers.FutureSubscriber.await:(JLjava/util/concurrent/TimeUnit;)Z
            ifne 4
         3: .line 98
            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 102
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual io.reactivex.internal.subscribers.FutureSubscriber.isCancelled:()Z
            ifeq 6
         5: .line 103
            new java.util.concurrent.CancellationException
            dup
            invokespecial java.util.concurrent.CancellationException.<init>:()V
            athrow
         6: .line 106
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield io.reactivex.internal.subscribers.FutureSubscriber.error:Ljava/lang/Throwable;
            astore 4 /* ex */
        start local 4 // java.lang.Throwable ex
         7: .line 107
            aload 4 /* ex */
            ifnull 9
         8: .line 108
            new java.util.concurrent.ExecutionException
            dup
            aload 4 /* ex */
            invokespecial java.util.concurrent.ExecutionException.<init>:(Ljava/lang/Throwable;)V
            athrow
         9: .line 110
      StackMap locals: java.lang.Throwable
      StackMap stack:
            aload 0 /* this */
            getfield io.reactivex.internal.subscribers.FutureSubscriber.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.subscribers.FutureSubscriber this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   10     0     this  Lio/reactivex/internal/subscribers/FutureSubscriber<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(org.reactivestreams.Subscription);
    descriptor: (Lorg/reactivestreams/Subscription;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // io.reactivex.internal.subscribers.FutureSubscriber this
        start local 1 // org.reactivestreams.Subscription s
         0: .line 115
            aload 0 /* this */
            getfield io.reactivex.internal.subscribers.FutureSubscriber.upstream:Ljava/util/concurrent/atomic/AtomicReference;
            aload 1 /* s */
            ldc 9223372036854775807
            invokestatic io.reactivex.internal.subscriptions.SubscriptionHelper.setOnce:(Ljava/util/concurrent/atomic/AtomicReference;Lorg/reactivestreams/Subscription;J)Z
            pop
         1: .line 116
            return
        end local 1 // org.reactivestreams.Subscription s
        end local 0 // io.reactivex.internal.subscribers.FutureSubscriber this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lio/reactivex/internal/subscribers/FutureSubscriber<TT;>;
            0    2     1     s  Lorg/reactivestreams/Subscription;
    MethodParameters:
      Name  Flags
      s     

  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.subscribers.FutureSubscriber this
        start local 1 // java.lang.Object t
         0: .line 120
            aload 0 /* this */
            getfield io.reactivex.internal.subscribers.FutureSubscriber.value:Ljava/lang/Object;
            ifnull 4
         1: .line 121
            aload 0 /* this */
            getfield io.reactivex.internal.subscribers.FutureSubscriber.upstream:Ljava/util/concurrent/atomic/AtomicReference;
            invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
            checkcast org.reactivestreams.Subscription
            invokeinterface org.reactivestreams.Subscription.cancel:()V
         2: .line 122
            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.subscribers.FutureSubscriber.onError:(Ljava/lang/Throwable;)V
         3: .line 123
            return
         4: .line 125
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* t */
            putfield io.reactivex.internal.subscribers.FutureSubscriber.value:Ljava/lang/Object;
         5: .line 126
            return
        end local 1 // java.lang.Object t
        end local 0 // io.reactivex.internal.subscribers.FutureSubscriber this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Lio/reactivex/internal/subscribers/FutureSubscriber<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.subscribers.FutureSubscriber this
        start local 1 // java.lang.Throwable t
         0: .line 131
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield io.reactivex.internal.subscribers.FutureSubscriber.upstream:Ljava/util/concurrent/atomic/AtomicReference;
            invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
            checkcast org.reactivestreams.Subscription
            astore 2 /* a */
        start local 2 // org.reactivestreams.Subscription a
         1: .line 132
            aload 2 /* a */
            aload 0 /* this */
            if_acmpeq 2
            aload 2 /* a */
            getstatic io.reactivex.internal.subscriptions.SubscriptionHelper.CANCELLED:Lio/reactivex/internal/subscriptions/SubscriptionHelper;
            if_acmpne 4
         2: .line 133
      StackMap locals: org.reactivestreams.Subscription
      StackMap stack:
            aload 1 /* t */
            invokestatic io.reactivex.plugins.RxJavaPlugins.onError:(Ljava/lang/Throwable;)V
         3: .line 134
            return
         4: .line 136
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* t */
            putfield io.reactivex.internal.subscribers.FutureSubscriber.error:Ljava/lang/Throwable;
         5: .line 137
            aload 0 /* this */
            getfield io.reactivex.internal.subscribers.FutureSubscriber.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 0
         6: .line 138
            aload 0 /* this */
            invokevirtual io.reactivex.internal.subscribers.FutureSubscriber.countDown:()V
         7: .line 139
            return
        end local 2 // org.reactivestreams.Subscription a
        end local 1 // java.lang.Throwable t
        end local 0 // io.reactivex.internal.subscribers.FutureSubscriber this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Lio/reactivex/internal/subscribers/FutureSubscriber<TT;>;
            0    8     1     t  Ljava/lang/Throwable;
            1    8     2     a  Lorg/reactivestreams/Subscription;
    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.subscribers.FutureSubscriber this
         0: .line 146
            aload 0 /* this */
            getfield io.reactivex.internal.subscribers.FutureSubscriber.value:Ljava/lang/Object;
            ifnonnull 3
         1: .line 147
            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.subscribers.FutureSubscriber.onError:(Ljava/lang/Throwable;)V
         2: .line 148
            return
         3: .line 151
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield io.reactivex.internal.subscribers.FutureSubscriber.upstream:Ljava/util/concurrent/atomic/AtomicReference;
            invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
            checkcast org.reactivestreams.Subscription
            astore 1 /* a */
        start local 1 // org.reactivestreams.Subscription a
         4: .line 152
            aload 1 /* a */
            aload 0 /* this */
            if_acmpeq 5
            aload 1 /* a */
            getstatic io.reactivex.internal.subscriptions.SubscriptionHelper.CANCELLED:Lio/reactivex/internal/subscriptions/SubscriptionHelper;
            if_acmpne 6
         5: .line 153
      StackMap locals: org.reactivestreams.Subscription
      StackMap stack:
            return
         6: .line 155
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield io.reactivex.internal.subscribers.FutureSubscriber.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 156
            aload 0 /* this */
            invokevirtual io.reactivex.internal.subscribers.FutureSubscriber.countDown:()V
         8: .line 157
            return
        end local 1 // org.reactivestreams.Subscription a
        end local 0 // io.reactivex.internal.subscribers.FutureSubscriber this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    9     0  this  Lio/reactivex/internal/subscribers/FutureSubscriber<TT;>;
            4    9     1     a  Lorg/reactivestreams/Subscription;

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

  public void request(long);
    descriptor: (J)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=0, locals=3, args_size=2
        start local 0 // io.reactivex.internal.subscribers.FutureSubscriber this
        start local 1 // long n
         0: .line 170
            return
        end local 1 // long n
        end local 0 // io.reactivex.internal.subscribers.FutureSubscriber this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lio/reactivex/internal/subscribers/FutureSubscriber<TT;>;
            0    1     1     n  J
    MethodParameters:
      Name  Flags
      n     
}
Signature: <T:Ljava/lang/Object;>Ljava/util/concurrent/CountDownLatch;Lio/reactivex/FlowableSubscriber<TT;>;Ljava/util/concurrent/Future<TT;>;Lorg/reactivestreams/Subscription;
SourceFile: "FutureSubscriber.java"