class com.mongodb.operation.AsyncSingleBatchQueryCursor<T> implements com.mongodb.async.AsyncBatchCursor<T>
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: com.mongodb.operation.AsyncSingleBatchQueryCursor
  super_class: java.lang.Object
{
  private volatile com.mongodb.connection.QueryResult<T> firstBatch;
    descriptor: Lcom/mongodb/connection/QueryResult;
    flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
    Signature: Lcom/mongodb/connection/QueryResult<TT;>;

  private volatile boolean closed;
    descriptor: Z
    flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE

  void <init>(com.mongodb.connection.QueryResult<T>);
    descriptor: (Lcom/mongodb/connection/QueryResult;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.mongodb.operation.AsyncSingleBatchQueryCursor this
        start local 1 // com.mongodb.connection.QueryResult firstBatch
         0: .line 32
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 33
            aload 0 /* this */
            aload 1 /* firstBatch */
            putfield com.mongodb.operation.AsyncSingleBatchQueryCursor.firstBatch:Lcom/mongodb/connection/QueryResult;
         2: .line 34
            ldc "Empty Cursor"
            aload 1 /* firstBatch */
            invokevirtual com.mongodb.connection.QueryResult.getCursor:()Lcom/mongodb/ServerCursor;
            ifnonnull 3
            iconst_1
            goto 4
      StackMap locals: com.mongodb.operation.AsyncSingleBatchQueryCursor com.mongodb.connection.QueryResult
      StackMap stack: java.lang.String
         3: iconst_0
      StackMap locals: com.mongodb.operation.AsyncSingleBatchQueryCursor com.mongodb.connection.QueryResult
      StackMap stack: java.lang.String int
         4: invokestatic com.mongodb.assertions.Assertions.isTrue:(Ljava/lang/String;Z)V
         5: .line 35
            return
        end local 1 // com.mongodb.connection.QueryResult firstBatch
        end local 0 // com.mongodb.operation.AsyncSingleBatchQueryCursor this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    6     0        this  Lcom/mongodb/operation/AsyncSingleBatchQueryCursor<TT;>;
            0    6     1  firstBatch  Lcom/mongodb/connection/QueryResult<TT;>;
    Signature: (Lcom/mongodb/connection/QueryResult<TT;>;)V
    MethodParameters:
            Name  Flags
      firstBatch  final

  public void close();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // com.mongodb.operation.AsyncSingleBatchQueryCursor this
         0: .line 39
            aload 0 /* this */
            iconst_1
            putfield com.mongodb.operation.AsyncSingleBatchQueryCursor.closed:Z
         1: .line 40
            return
        end local 0 // com.mongodb.operation.AsyncSingleBatchQueryCursor this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/mongodb/operation/AsyncSingleBatchQueryCursor<TT;>;

  public void next(com.mongodb.async.SingleResultCallback<java.util.List<T>>);
    descriptor: (Lcom/mongodb/async/SingleResultCallback;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // com.mongodb.operation.AsyncSingleBatchQueryCursor this
        start local 1 // com.mongodb.async.SingleResultCallback callback
         0: .line 44
            aload 0 /* this */
            getfield com.mongodb.operation.AsyncSingleBatchQueryCursor.closed:Z
            ifeq 3
         1: .line 45
            aload 1 /* callback */
            aconst_null
            new com.mongodb.MongoException
            dup
            ldc "next() called after the cursor was closed."
            invokespecial com.mongodb.MongoException.<init>:(Ljava/lang/String;)V
            invokeinterface com.mongodb.async.SingleResultCallback.onResult:(Ljava/lang/Object;Ljava/lang/Throwable;)V
         2: .line 46
            goto 10
      StackMap locals:
      StackMap stack:
         3: aload 0 /* this */
            getfield com.mongodb.operation.AsyncSingleBatchQueryCursor.firstBatch:Lcom/mongodb/connection/QueryResult;
            ifnull 8
            aload 0 /* this */
            getfield com.mongodb.operation.AsyncSingleBatchQueryCursor.firstBatch:Lcom/mongodb/connection/QueryResult;
            invokevirtual com.mongodb.connection.QueryResult.getResults:()Ljava/util/List;
            invokeinterface java.util.List.isEmpty:()Z
            ifne 8
         4: .line 47
            aload 0 /* this */
            getfield com.mongodb.operation.AsyncSingleBatchQueryCursor.firstBatch:Lcom/mongodb/connection/QueryResult;
            invokevirtual com.mongodb.connection.QueryResult.getResults:()Ljava/util/List;
            astore 2 /* results */
        start local 2 // java.util.List results
         5: .line 48
            aload 0 /* this */
            aconst_null
            putfield com.mongodb.operation.AsyncSingleBatchQueryCursor.firstBatch:Lcom/mongodb/connection/QueryResult;
         6: .line 49
            aload 1 /* callback */
            aload 2 /* results */
            aconst_null
            invokeinterface com.mongodb.async.SingleResultCallback.onResult:(Ljava/lang/Object;Ljava/lang/Throwable;)V
        end local 2 // java.util.List results
         7: .line 50
            goto 10
         8: .line 51
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iconst_1
            putfield com.mongodb.operation.AsyncSingleBatchQueryCursor.closed:Z
         9: .line 52
            aload 1 /* callback */
            aconst_null
            aconst_null
            invokeinterface com.mongodb.async.SingleResultCallback.onResult:(Ljava/lang/Object;Ljava/lang/Throwable;)V
        10: .line 54
      StackMap locals:
      StackMap stack:
            return
        end local 1 // com.mongodb.async.SingleResultCallback callback
        end local 0 // com.mongodb.operation.AsyncSingleBatchQueryCursor this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   11     0      this  Lcom/mongodb/operation/AsyncSingleBatchQueryCursor<TT;>;
            0   11     1  callback  Lcom/mongodb/async/SingleResultCallback<Ljava/util/List<TT;>;>;
            5    7     2   results  Ljava/util/List<TT;>;
    Signature: (Lcom/mongodb/async/SingleResultCallback<Ljava/util/List<TT;>;>;)V
    MethodParameters:
          Name  Flags
      callback  final

  public void tryNext(com.mongodb.async.SingleResultCallback<java.util.List<T>>);
    descriptor: (Lcom/mongodb/async/SingleResultCallback;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.mongodb.operation.AsyncSingleBatchQueryCursor this
        start local 1 // com.mongodb.async.SingleResultCallback callback
         0: .line 58
            aload 0 /* this */
            aload 1 /* callback */
            invokevirtual com.mongodb.operation.AsyncSingleBatchQueryCursor.next:(Lcom/mongodb/async/SingleResultCallback;)V
         1: .line 59
            return
        end local 1 // com.mongodb.async.SingleResultCallback callback
        end local 0 // com.mongodb.operation.AsyncSingleBatchQueryCursor this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    2     0      this  Lcom/mongodb/operation/AsyncSingleBatchQueryCursor<TT;>;
            0    2     1  callback  Lcom/mongodb/async/SingleResultCallback<Ljava/util/List<TT;>;>;
    Signature: (Lcom/mongodb/async/SingleResultCallback<Ljava/util/List<TT;>;>;)V
    MethodParameters:
          Name  Flags
      callback  final

  public void setBatchSize(int);
    descriptor: (I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=0, locals=2, args_size=2
        start local 0 // com.mongodb.operation.AsyncSingleBatchQueryCursor this
        start local 1 // int batchSize
         0: .line 64
            return
        end local 1 // int batchSize
        end local 0 // com.mongodb.operation.AsyncSingleBatchQueryCursor this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    1     0       this  Lcom/mongodb/operation/AsyncSingleBatchQueryCursor<TT;>;
            0    1     1  batchSize  I
    MethodParameters:
           Name  Flags
      batchSize  final

  public int getBatchSize();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.mongodb.operation.AsyncSingleBatchQueryCursor this
         0: .line 68
            iconst_0
            ireturn
        end local 0 // com.mongodb.operation.AsyncSingleBatchQueryCursor this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/mongodb/operation/AsyncSingleBatchQueryCursor<TT;>;

  public boolean isClosed();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.mongodb.operation.AsyncSingleBatchQueryCursor this
         0: .line 73
            aload 0 /* this */
            getfield com.mongodb.operation.AsyncSingleBatchQueryCursor.closed:Z
            ireturn
        end local 0 // com.mongodb.operation.AsyncSingleBatchQueryCursor this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/mongodb/operation/AsyncSingleBatchQueryCursor<TT;>;
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;Lcom/mongodb/async/AsyncBatchCursor<TT;>;
SourceFile: "AsyncSingleBatchQueryCursor.java"