public class javax.sound.midi.Track
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: javax.sound.midi.Track
  super_class: java.lang.Object
{
  private java.util.ArrayList eventsList;
    descriptor: Ljava/util/ArrayList;
    flags: (0x0002) ACC_PRIVATE

  private java.util.HashSet set;
    descriptor: Ljava/util/HashSet;
    flags: (0x0002) ACC_PRIVATE

  private javax.sound.midi.MidiEvent eotEvent;
    descriptor: Ljavax/sound/midi/MidiEvent;
    flags: (0x0002) ACC_PRIVATE

  void <init>();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=6, locals=2, args_size=1
        start local 0 // javax.sound.midi.Track this
         0: .line 81
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 69
            aload 0 /* this */
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            putfield javax.sound.midi.Track.eventsList:Ljava/util/ArrayList;
         2: .line 72
            aload 0 /* this */
            new java.util.HashSet
            dup
            invokespecial java.util.HashSet.<init>:()V
            putfield javax.sound.midi.Track.set:Ljava/util/HashSet;
         3: .line 83
            new javax.sound.midi.Track$ImmutableEndOfTrack
            dup
            invokespecial javax.sound.midi.Track$ImmutableEndOfTrack.<init>:()V
            astore 1 /* eot */
        start local 1 // javax.sound.midi.MetaMessage eot
         4: .line 84
            aload 0 /* this */
            new javax.sound.midi.MidiEvent
            dup
            aload 1 /* eot */
            lconst_0
            invokespecial javax.sound.midi.MidiEvent.<init>:(Ljavax/sound/midi/MidiMessage;J)V
            putfield javax.sound.midi.Track.eotEvent:Ljavax/sound/midi/MidiEvent;
         5: .line 85
            aload 0 /* this */
            getfield javax.sound.midi.Track.eventsList:Ljava/util/ArrayList;
            aload 0 /* this */
            getfield javax.sound.midi.Track.eotEvent:Ljavax/sound/midi/MidiEvent;
            invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
            pop
         6: .line 86
            aload 0 /* this */
            getfield javax.sound.midi.Track.set:Ljava/util/HashSet;
            aload 0 /* this */
            getfield javax.sound.midi.Track.eotEvent:Ljavax/sound/midi/MidiEvent;
            invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
            pop
         7: .line 87
            return
        end local 1 // javax.sound.midi.MetaMessage eot
        end local 0 // javax.sound.midi.Track this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Ljavax/sound/midi/Track;
            4    8     1   eot  Ljavax/sound/midi/MetaMessage;

  public boolean add(javax.sound.midi.MidiEvent);
    descriptor: (Ljavax/sound/midi/MidiEvent;)Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=6, args_size=2
        start local 0 // javax.sound.midi.Track this
        start local 1 // javax.sound.midi.MidiEvent event
         0: .line 100
            aload 1 /* event */
            ifnonnull 2
         1: .line 101
            iconst_0
            ireturn
         2: .line 103
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield javax.sound.midi.Track.eventsList:Ljava/util/ArrayList;
            dup
            astore 2
            monitorenter
         3: .line 105
            aload 0 /* this */
            getfield javax.sound.midi.Track.set:Ljava/util/HashSet;
            aload 1 /* event */
            invokevirtual java.util.HashSet.contains:(Ljava/lang/Object;)Z
            ifne 37
         4: .line 106
            aload 0 /* this */
            getfield javax.sound.midi.Track.eventsList:Ljava/util/ArrayList;
            invokevirtual java.util.ArrayList.size:()I
            istore 3 /* eventsCount */
        start local 3 // int eventsCount
         5: .line 109
            aconst_null
            astore 4 /* lastEvent */
        start local 4 // javax.sound.midi.MidiEvent lastEvent
         6: .line 110
            iload 3 /* eventsCount */
            ifle 8
         7: .line 111
            aload 0 /* this */
            getfield javax.sound.midi.Track.eventsList:Ljava/util/ArrayList;
            iload 3 /* eventsCount */
            iconst_1
            isub
            invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
            checkcast javax.sound.midi.MidiEvent
            astore 4 /* lastEvent */
         8: .line 114
      StackMap locals: java.util.ArrayList int javax.sound.midi.MidiEvent
      StackMap stack:
            aload 4 /* lastEvent */
            aload 0 /* this */
            getfield javax.sound.midi.Track.eotEvent:Ljavax/sound/midi/MidiEvent;
            if_acmpeq 16
         9: .line 116
            aload 4 /* lastEvent */
            ifnull 12
        10: .line 118
            aload 0 /* this */
            getfield javax.sound.midi.Track.eotEvent:Ljavax/sound/midi/MidiEvent;
            aload 4 /* lastEvent */
            invokevirtual javax.sound.midi.MidiEvent.getTick:()J
            invokevirtual javax.sound.midi.MidiEvent.setTick:(J)V
        11: .line 119
            goto 13
        12: .line 121
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield javax.sound.midi.Track.eotEvent:Ljavax/sound/midi/MidiEvent;
            lconst_0
            invokevirtual javax.sound.midi.MidiEvent.setTick:(J)V
        13: .line 125
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield javax.sound.midi.Track.eventsList:Ljava/util/ArrayList;
            aload 0 /* this */
            getfield javax.sound.midi.Track.eotEvent:Ljavax/sound/midi/MidiEvent;
            invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
            pop
        14: .line 126
            aload 0 /* this */
            getfield javax.sound.midi.Track.set:Ljava/util/HashSet;
            aload 0 /* this */
            getfield javax.sound.midi.Track.eotEvent:Ljavax/sound/midi/MidiEvent;
            invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
            pop
        15: .line 127
            aload 0 /* this */
            getfield javax.sound.midi.Track.eventsList:Ljava/util/ArrayList;
            invokevirtual java.util.ArrayList.size:()I
            istore 3 /* eventsCount */
        16: .line 132
      StackMap locals:
      StackMap stack:
            aload 1 /* event */
            invokevirtual javax.sound.midi.MidiEvent.getMessage:()Ljavax/sound/midi/MidiMessage;
            invokestatic com.sun.media.sound.MidiUtils.isMetaEndOfTrack:(Ljavax/sound/midi/MidiMessage;)Z
            ifeq 21
        17: .line 138
            aload 1 /* event */
            invokevirtual javax.sound.midi.MidiEvent.getTick:()J
            aload 0 /* this */
            getfield javax.sound.midi.Track.eotEvent:Ljavax/sound/midi/MidiEvent;
            invokevirtual javax.sound.midi.MidiEvent.getTick:()J
            lcmp
            ifle 19
        18: .line 139
            aload 0 /* this */
            getfield javax.sound.midi.Track.eotEvent:Ljavax/sound/midi/MidiEvent;
            aload 1 /* event */
            invokevirtual javax.sound.midi.MidiEvent.getTick:()J
            invokevirtual javax.sound.midi.MidiEvent.setTick:(J)V
        19: .line 141
      StackMap locals:
      StackMap stack:
            aload 2
            monitorexit
        20: iconst_1
            ireturn
        21: .line 145
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield javax.sound.midi.Track.set:Ljava/util/HashSet;
            aload 1 /* event */
            invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
            pop
        22: .line 149
            iload 3 /* eventsCount */
            istore 5 /* i */
        start local 5 // int i
        23: .line 150
            goto 27
        24: .line 151
      StackMap locals: int
      StackMap stack:
            aload 1 /* event */
            invokevirtual javax.sound.midi.MidiEvent.getTick:()J
            aload 0 /* this */
            getfield javax.sound.midi.Track.eventsList:Ljava/util/ArrayList;
            iload 5 /* i */
            iconst_1
            isub
            invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
            checkcast javax.sound.midi.MidiEvent
            invokevirtual javax.sound.midi.MidiEvent.getTick:()J
            lcmp
            iflt 26
        25: .line 152
            goto 28
        26: .line 150
      StackMap locals:
      StackMap stack:
            iinc 5 /* i */ -1
      StackMap locals:
      StackMap stack:
        27: iload 5 /* i */
            ifgt 24
        28: .line 155
      StackMap locals:
      StackMap stack:
            iload 5 /* i */
            iload 3 /* eventsCount */
            if_icmpne 34
        29: .line 162
            aload 0 /* this */
            getfield javax.sound.midi.Track.eventsList:Ljava/util/ArrayList;
            iload 3 /* eventsCount */
            iconst_1
            isub
            aload 1 /* event */
            invokevirtual java.util.ArrayList.set:(ILjava/lang/Object;)Ljava/lang/Object;
            pop
        30: .line 164
            aload 0 /* this */
            getfield javax.sound.midi.Track.eotEvent:Ljavax/sound/midi/MidiEvent;
            invokevirtual javax.sound.midi.MidiEvent.getTick:()J
            aload 1 /* event */
            invokevirtual javax.sound.midi.MidiEvent.getTick:()J
            lcmp
            ifge 32
        31: .line 165
            aload 0 /* this */
            getfield javax.sound.midi.Track.eotEvent:Ljavax/sound/midi/MidiEvent;
            aload 1 /* event */
            invokevirtual javax.sound.midi.MidiEvent.getTick:()J
            invokevirtual javax.sound.midi.MidiEvent.setTick:(J)V
        32: .line 168
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield javax.sound.midi.Track.eventsList:Ljava/util/ArrayList;
            aload 0 /* this */
            getfield javax.sound.midi.Track.eotEvent:Ljavax/sound/midi/MidiEvent;
            invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
            pop
        33: .line 169
            goto 35
        34: .line 170
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield javax.sound.midi.Track.eventsList:Ljava/util/ArrayList;
            iload 5 /* i */
            aload 1 /* event */
            invokevirtual java.util.ArrayList.add:(ILjava/lang/Object;)V
        35: .line 172
      StackMap locals:
      StackMap stack:
            aload 2
            monitorexit
        36: iconst_1
            ireturn
        end local 5 // int i
        end local 4 // javax.sound.midi.MidiEvent lastEvent
        end local 3 // int eventsCount
        37: .line 103
      StackMap locals:
      StackMap stack:
            aload 2
            monitorexit
        38: goto 41
      StackMap locals:
      StackMap stack: java.lang.Throwable
        39: aload 2
            monitorexit
        40: athrow
        41: .line 176
      StackMap locals:
      StackMap stack:
            iconst_0
            ireturn
        end local 1 // javax.sound.midi.MidiEvent event
        end local 0 // javax.sound.midi.Track this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   42     0         this  Ljavax/sound/midi/Track;
            0   42     1        event  Ljavax/sound/midi/MidiEvent;
            5   37     3  eventsCount  I
            6   37     4    lastEvent  Ljavax/sound/midi/MidiEvent;
           23   37     5            i  I
      Exception table:
        from    to  target  type
           3    20      39  any
          21    36      39  any
          37    38      39  any
          39    40      39  any
    MethodParameters:
       Name  Flags
      event  

  public boolean remove(javax.sound.midi.MidiEvent);
    descriptor: (Ljavax/sound/midi/MidiEvent;)Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=4, args_size=2
        start local 0 // javax.sound.midi.Track this
        start local 1 // javax.sound.midi.MidiEvent event
         0: .line 198
            aload 0 /* this */
            getfield javax.sound.midi.Track.eventsList:Ljava/util/ArrayList;
            dup
            astore 2
            monitorenter
         1: .line 199
            aload 0 /* this */
            getfield javax.sound.midi.Track.set:Ljava/util/HashSet;
            aload 1 /* event */
            invokevirtual java.util.HashSet.remove:(Ljava/lang/Object;)Z
            ifeq 7
         2: .line 200
            aload 0 /* this */
            getfield javax.sound.midi.Track.eventsList:Ljava/util/ArrayList;
            aload 1 /* event */
            invokevirtual java.util.ArrayList.indexOf:(Ljava/lang/Object;)I
            istore 3 /* i */
        start local 3 // int i
         3: .line 201
            iload 3 /* i */
            iflt 7
         4: .line 202
            aload 0 /* this */
            getfield javax.sound.midi.Track.eventsList:Ljava/util/ArrayList;
            iload 3 /* i */
            invokevirtual java.util.ArrayList.remove:(I)Ljava/lang/Object;
            pop
         5: .line 203
            aload 2
            monitorexit
         6: iconst_1
            ireturn
        end local 3 // int i
         7: .line 198
      StackMap locals: java.util.ArrayList
      StackMap stack:
            aload 2
            monitorexit
         8: goto 11
      StackMap locals:
      StackMap stack: java.lang.Throwable
         9: aload 2
            monitorexit
        10: athrow
        11: .line 207
      StackMap locals:
      StackMap stack:
            iconst_0
            ireturn
        end local 1 // javax.sound.midi.MidiEvent event
        end local 0 // javax.sound.midi.Track this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   12     0   this  Ljavax/sound/midi/Track;
            0   12     1  event  Ljavax/sound/midi/MidiEvent;
            3    7     3      i  I
      Exception table:
        from    to  target  type
           1     6       9  any
           7     8       9  any
           9    10       9  any
    MethodParameters:
       Name  Flags
      event  

  public javax.sound.midi.MidiEvent get(int);
    descriptor: (I)Ljavax/sound/midi/MidiEvent;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // javax.sound.midi.Track this
        start local 1 // int index
         0: .line 222
            aload 0 /* this */
            getfield javax.sound.midi.Track.eventsList:Ljava/util/ArrayList;
            dup
            astore 2
            monitorenter
         1: .line 223
            aload 0 /* this */
            getfield javax.sound.midi.Track.eventsList:Ljava/util/ArrayList;
            iload 1 /* index */
            invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
            checkcast javax.sound.midi.MidiEvent
            aload 2
            monitorexit
         2: areturn
         3: .line 222
      StackMap locals: javax.sound.midi.Track int java.util.ArrayList
      StackMap stack: java.lang.Throwable
            aload 2
            monitorexit
         4: athrow
         5: .line 225
      StackMap locals: javax.sound.midi.Track int
      StackMap stack: java.lang.IndexOutOfBoundsException
            astore 2 /* ioobe */
        start local 2 // java.lang.IndexOutOfBoundsException ioobe
         6: .line 226
            new java.lang.ArrayIndexOutOfBoundsException
            dup
            aload 2 /* ioobe */
            invokevirtual java.lang.IndexOutOfBoundsException.getMessage:()Ljava/lang/String;
            invokespecial java.lang.ArrayIndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
            athrow
        end local 2 // java.lang.IndexOutOfBoundsException ioobe
        end local 1 // int index
        end local 0 // javax.sound.midi.Track this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    7     0   this  Ljavax/sound/midi/Track;
            0    7     1  index  I
            6    7     2  ioobe  Ljava/lang/IndexOutOfBoundsException;
      Exception table:
        from    to  target  type
           1     2       3  any
           3     4       3  any
           0     2       5  Class java.lang.IndexOutOfBoundsException
           3     5       5  Class java.lang.IndexOutOfBoundsException
    Exceptions:
      throws java.lang.ArrayIndexOutOfBoundsException
    MethodParameters:
       Name  Flags
      index  

  public int size();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // javax.sound.midi.Track this
         0: .line 236
            aload 0 /* this */
            getfield javax.sound.midi.Track.eventsList:Ljava/util/ArrayList;
            dup
            astore 1
            monitorenter
         1: .line 237
            aload 0 /* this */
            getfield javax.sound.midi.Track.eventsList:Ljava/util/ArrayList;
            invokevirtual java.util.ArrayList.size:()I
            aload 1
            monitorexit
         2: ireturn
         3: .line 236
      StackMap locals: javax.sound.midi.Track java.util.ArrayList
      StackMap stack: java.lang.Throwable
            aload 1
            monitorexit
         4: athrow
        end local 0 // javax.sound.midi.Track this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Ljavax/sound/midi/Track;
      Exception table:
        from    to  target  type
           1     2       3  any
           3     4       3  any

  public long ticks();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=4, args_size=1
        start local 0 // javax.sound.midi.Track this
         0: .line 253
            lconst_0
            lstore 1 /* ret */
        start local 1 // long ret
         1: .line 254
            aload 0 /* this */
            getfield javax.sound.midi.Track.eventsList:Ljava/util/ArrayList;
            dup
            astore 3
            monitorenter
         2: .line 255
            aload 0 /* this */
            getfield javax.sound.midi.Track.eventsList:Ljava/util/ArrayList;
            invokevirtual java.util.ArrayList.size:()I
            ifle 4
         3: .line 256
            aload 0 /* this */
            getfield javax.sound.midi.Track.eventsList:Ljava/util/ArrayList;
            aload 0 /* this */
            getfield javax.sound.midi.Track.eventsList:Ljava/util/ArrayList;
            invokevirtual java.util.ArrayList.size:()I
            iconst_1
            isub
            invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
            checkcast javax.sound.midi.MidiEvent
            invokevirtual javax.sound.midi.MidiEvent.getTick:()J
            lstore 1 /* ret */
         4: .line 254
      StackMap locals: long java.util.ArrayList
      StackMap stack:
            aload 3
            monitorexit
         5: goto 8
      StackMap locals:
      StackMap stack: java.lang.Throwable
         6: aload 3
            monitorexit
         7: athrow
         8: .line 259
      StackMap locals:
      StackMap stack:
            lload 1 /* ret */
            lreturn
        end local 1 // long ret
        end local 0 // javax.sound.midi.Track this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    9     0  this  Ljavax/sound/midi/Track;
            1    9     1   ret  J
      Exception table:
        from    to  target  type
           2     5       6  any
           6     7       6  any
}
SourceFile: "Track.java"
NestMembers:
  javax.sound.midi.Track$ImmutableEndOfTrack
InnerClasses:
  private ImmutableEndOfTrack = javax.sound.midi.Track$ImmutableEndOfTrack of javax.sound.midi.Track