public class com.sun.jmx.remote.internal.ArrayQueue<T> extends java.util.AbstractList<T>
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: com.sun.jmx.remote.internal.ArrayQueue
  super_class: java.util.AbstractList
{
  private int capacity;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  private T[] queue;
    descriptor: [Ljava/lang/Object;
    flags: (0x0002) ACC_PRIVATE
    Signature: [TT;

  private int head;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  private int tail;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  public void <init>(int);
    descriptor: (I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // com.sun.jmx.remote.internal.ArrayQueue this
        start local 1 // int capacity
         0: .line 32
            aload 0 /* this */
            invokespecial java.util.AbstractList.<init>:()V
         1: .line 33
            aload 0 /* this */
            iload 1 /* capacity */
            iconst_1
            iadd
            putfield com.sun.jmx.remote.internal.ArrayQueue.capacity:I
         2: .line 34
            aload 0 /* this */
            aload 0 /* this */
            iload 1 /* capacity */
            iconst_1
            iadd
            invokevirtual com.sun.jmx.remote.internal.ArrayQueue.newArray:(I)[Ljava/lang/Object;
            putfield com.sun.jmx.remote.internal.ArrayQueue.queue:[Ljava/lang/Object;
         3: .line 35
            aload 0 /* this */
            iconst_0
            putfield com.sun.jmx.remote.internal.ArrayQueue.head:I
         4: .line 36
            aload 0 /* this */
            iconst_0
            putfield com.sun.jmx.remote.internal.ArrayQueue.tail:I
         5: .line 37
            return
        end local 1 // int capacity
        end local 0 // com.sun.jmx.remote.internal.ArrayQueue this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    6     0      this  Lcom/sun/jmx/remote/internal/ArrayQueue<TT;>;
            0    6     1  capacity  I
    MethodParameters:
          Name  Flags
      capacity  

  public void resize(int);
    descriptor: (I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=5, args_size=2
        start local 0 // com.sun.jmx.remote.internal.ArrayQueue this
        start local 1 // int newcapacity
         0: .line 40
            aload 0 /* this */
            invokevirtual com.sun.jmx.remote.internal.ArrayQueue.size:()I
            istore 2 /* size */
        start local 2 // int size
         1: .line 41
            iload 1 /* newcapacity */
            iload 2 /* size */
            if_icmpge 3
         2: .line 42
            new java.lang.IndexOutOfBoundsException
            dup
            ldc "Resizing would lose data"
            invokespecial java.lang.IndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
            athrow
         3: .line 43
      StackMap locals: int
      StackMap stack:
            iinc 1 /* newcapacity */ 1
         4: .line 44
            iload 1 /* newcapacity */
            aload 0 /* this */
            getfield com.sun.jmx.remote.internal.ArrayQueue.capacity:I
            if_icmpne 6
         5: .line 45
            return
         6: .line 46
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iload 1 /* newcapacity */
            invokevirtual com.sun.jmx.remote.internal.ArrayQueue.newArray:(I)[Ljava/lang/Object;
            astore 3 /* newqueue */
        start local 3 // java.lang.Object[] newqueue
         7: .line 47
            iconst_0
            istore 4 /* i */
        start local 4 // int i
         8: goto 11
         9: .line 48
      StackMap locals: java.lang.Object[] int
      StackMap stack:
            aload 3 /* newqueue */
            iload 4 /* i */
            aload 0 /* this */
            iload 4 /* i */
            invokevirtual com.sun.jmx.remote.internal.ArrayQueue.get:(I)Ljava/lang/Object;
            aastore
        10: .line 47
            iinc 4 /* i */ 1
      StackMap locals:
      StackMap stack:
        11: iload 4 /* i */
            iload 2 /* size */
            if_icmplt 9
        end local 4 // int i
        12: .line 49
            aload 0 /* this */
            iload 1 /* newcapacity */
            putfield com.sun.jmx.remote.internal.ArrayQueue.capacity:I
        13: .line 50
            aload 0 /* this */
            aload 3 /* newqueue */
            putfield com.sun.jmx.remote.internal.ArrayQueue.queue:[Ljava/lang/Object;
        14: .line 51
            aload 0 /* this */
            iconst_0
            putfield com.sun.jmx.remote.internal.ArrayQueue.head:I
        15: .line 52
            aload 0 /* this */
            iload 2 /* size */
            putfield com.sun.jmx.remote.internal.ArrayQueue.tail:I
        16: .line 53
            return
        end local 3 // java.lang.Object[] newqueue
        end local 2 // int size
        end local 1 // int newcapacity
        end local 0 // com.sun.jmx.remote.internal.ArrayQueue this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   17     0         this  Lcom/sun/jmx/remote/internal/ArrayQueue<TT;>;
            0   17     1  newcapacity  I
            1   17     2         size  I
            7   17     3     newqueue  [Ljava/lang/Object;
            8   12     4            i  I
    MethodParameters:
             Name  Flags
      newcapacity  

  private T[] newArray();
    descriptor: (I)[Ljava/lang/Object;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=2, args_size=2
        start local 0 // com.sun.jmx.remote.internal.ArrayQueue this
        start local 1 // int size
         0: .line 57
            iload 1 /* size */
            anewarray java.lang.Object
            areturn
        end local 1 // int size
        end local 0 // com.sun.jmx.remote.internal.ArrayQueue this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/sun/jmx/remote/internal/ArrayQueue<TT;>;
            0    1     1  size  I
    Signature: (I)[TT;
    MethodParameters:
      Name  Flags
      size  

  public boolean add();
    descriptor: (Ljava/lang/Object;)Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // com.sun.jmx.remote.internal.ArrayQueue this
        start local 1 // java.lang.Object o
         0: .line 61
            aload 0 /* this */
            getfield com.sun.jmx.remote.internal.ArrayQueue.queue:[Ljava/lang/Object;
            aload 0 /* this */
            getfield com.sun.jmx.remote.internal.ArrayQueue.tail:I
            aload 1 /* o */
            aastore
         1: .line 62
            aload 0 /* this */
            getfield com.sun.jmx.remote.internal.ArrayQueue.tail:I
            iconst_1
            iadd
            aload 0 /* this */
            getfield com.sun.jmx.remote.internal.ArrayQueue.capacity:I
            irem
            istore 2 /* newtail */
        start local 2 // int newtail
         2: .line 63
            iload 2 /* newtail */
            aload 0 /* this */
            getfield com.sun.jmx.remote.internal.ArrayQueue.head:I
            if_icmpne 4
         3: .line 64
            new java.lang.IndexOutOfBoundsException
            dup
            ldc "Queue full"
            invokespecial java.lang.IndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 65
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            iload 2 /* newtail */
            putfield com.sun.jmx.remote.internal.ArrayQueue.tail:I
         5: .line 66
            iconst_1
            ireturn
        end local 2 // int newtail
        end local 1 // java.lang.Object o
        end local 0 // com.sun.jmx.remote.internal.ArrayQueue this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    6     0     this  Lcom/sun/jmx/remote/internal/ArrayQueue<TT;>;
            0    6     1        o  TT;
            2    6     2  newtail  I
    Signature: (TT;)Z
    MethodParameters:
      Name  Flags
      o     

  public T remove();
    descriptor: (I)Ljava/lang/Object;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // com.sun.jmx.remote.internal.ArrayQueue this
        start local 1 // int i
         0: .line 70
            iload 1 /* i */
            ifeq 2
         1: .line 71
            new java.lang.IllegalArgumentException
            dup
            ldc "Can only remove head of queue"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 72
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.sun.jmx.remote.internal.ArrayQueue.head:I
            aload 0 /* this */
            getfield com.sun.jmx.remote.internal.ArrayQueue.tail:I
            if_icmpne 4
         3: .line 73
            new java.lang.IndexOutOfBoundsException
            dup
            ldc "Queue empty"
            invokespecial java.lang.IndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 74
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.sun.jmx.remote.internal.ArrayQueue.queue:[Ljava/lang/Object;
            aload 0 /* this */
            getfield com.sun.jmx.remote.internal.ArrayQueue.head:I
            aaload
            astore 2 /* removed */
        start local 2 // java.lang.Object removed
         5: .line 75
            aload 0 /* this */
            getfield com.sun.jmx.remote.internal.ArrayQueue.queue:[Ljava/lang/Object;
            aload 0 /* this */
            getfield com.sun.jmx.remote.internal.ArrayQueue.head:I
            aconst_null
            aastore
         6: .line 76
            aload 0 /* this */
            aload 0 /* this */
            getfield com.sun.jmx.remote.internal.ArrayQueue.head:I
            iconst_1
            iadd
            aload 0 /* this */
            getfield com.sun.jmx.remote.internal.ArrayQueue.capacity:I
            irem
            putfield com.sun.jmx.remote.internal.ArrayQueue.head:I
         7: .line 77
            aload 2 /* removed */
            areturn
        end local 2 // java.lang.Object removed
        end local 1 // int i
        end local 0 // com.sun.jmx.remote.internal.ArrayQueue this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    8     0     this  Lcom/sun/jmx/remote/internal/ArrayQueue<TT;>;
            0    8     1        i  I
            5    8     2  removed  TT;
    Signature: (I)TT;
    MethodParameters:
      Name  Flags
      i     

  public T get();
    descriptor: (I)Ljava/lang/Object;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=4, args_size=2
        start local 0 // com.sun.jmx.remote.internal.ArrayQueue this
        start local 1 // int i
         0: .line 81
            aload 0 /* this */
            invokevirtual com.sun.jmx.remote.internal.ArrayQueue.size:()I
            istore 2 /* size */
        start local 2 // int size
         1: .line 82
            iload 1 /* i */
            iflt 2
            iload 1 /* i */
            iload 2 /* size */
            if_icmplt 4
         2: .line 83
      StackMap locals: int
      StackMap stack:
            new java.lang.StringBuilder
            dup
            ldc "Index "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 1 /* i */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc ", queue size "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            iload 2 /* size */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            astore 3 /* msg */
        start local 3 // java.lang.String msg
         3: .line 84
            new java.lang.IndexOutOfBoundsException
            dup
            aload 3 /* msg */
            invokespecial java.lang.IndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
            athrow
        end local 3 // java.lang.String msg
         4: .line 86
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.sun.jmx.remote.internal.ArrayQueue.head:I
            iload 1 /* i */
            iadd
            aload 0 /* this */
            getfield com.sun.jmx.remote.internal.ArrayQueue.capacity:I
            irem
            istore 3 /* index */
        start local 3 // int index
         5: .line 87
            aload 0 /* this */
            getfield com.sun.jmx.remote.internal.ArrayQueue.queue:[Ljava/lang/Object;
            iload 3 /* index */
            aaload
            areturn
        end local 3 // int index
        end local 2 // int size
        end local 1 // int i
        end local 0 // com.sun.jmx.remote.internal.ArrayQueue this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    6     0   this  Lcom/sun/jmx/remote/internal/ArrayQueue<TT;>;
            0    6     1      i  I
            1    6     2   size  I
            3    4     3    msg  Ljava/lang/String;
            5    6     3  index  I
    Signature: (I)TT;
    MethodParameters:
      Name  Flags
      i     

  public int size();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // com.sun.jmx.remote.internal.ArrayQueue this
         0: .line 92
            aload 0 /* this */
            getfield com.sun.jmx.remote.internal.ArrayQueue.tail:I
            aload 0 /* this */
            getfield com.sun.jmx.remote.internal.ArrayQueue.head:I
            isub
            istore 1 /* diff */
        start local 1 // int diff
         1: .line 93
            iload 1 /* diff */
            ifge 3
         2: .line 94
            iload 1 /* diff */
            aload 0 /* this */
            getfield com.sun.jmx.remote.internal.ArrayQueue.capacity:I
            iadd
            istore 1 /* diff */
         3: .line 95
      StackMap locals: int
      StackMap stack:
            iload 1 /* diff */
            ireturn
        end local 1 // int diff
        end local 0 // com.sun.jmx.remote.internal.ArrayQueue this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lcom/sun/jmx/remote/internal/ArrayQueue<TT;>;
            1    4     1  diff  I
}
Signature: <T:Ljava/lang/Object;>Ljava/util/AbstractList<TT;>;
SourceFile: "ArrayQueue.java"