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 final java.util.ArrayList<javax.sound.midi.MidiEvent> eventsList;
    descriptor: Ljava/util/ArrayList;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/ArrayList<Ljavax/sound/midi/MidiEvent;>;

  private final java.util.HashSet<javax.sound.midi.MidiEvent> set;
    descriptor: Ljava/util/HashSet;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/HashSet<Ljavax/sound/midi/MidiEvent;>;

  private final javax.sound.midi.MidiEvent eotEvent;
    descriptor: Ljavax/sound/midi/MidiEvent;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  void <init>();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=6, locals=2, args_size=1
        start local 0 // javax.sound.midi.Track this
         0: .line 83
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 70
            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 75
            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 85
            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 86
            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 87
            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 88
            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 89
            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 102
            aload 1 /* event */
            ifnonnull 2
         1: .line 103
            iconst_0
            ireturn
         2: .line 105
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield javax.sound.midi.Track.eventsList:Ljava/util/ArrayList;
            dup
            astore 2
            monitorenter
         3: .line 107
            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 108
            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 111
            aconst_null
            astore 4 /* lastEvent */
        start local 4 // javax.sound.midi.MidiEvent lastEvent
         6: .line 112
            iload 3 /* eventsCount */
            ifle 8
         7: .line 113
            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 116
      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 118
            aload 4 /* lastEvent */
            ifnull 12
        10: .line 120
            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 121
            goto 13
        12: .line 123
      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 127
      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 128
            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 129
            aload 0 /* this */
            getfield javax.sound.midi.Track.eventsList:Ljava/util/ArrayList;
            invokevirtual java.util.ArrayList.size:()I
            istore 3 /* eventsCount */
        16: .line 134
      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 140
            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 141
            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 143
      StackMap locals:
      StackMap stack:
            aload 2
            monitorexit
        20: iconst_1
            ireturn
        21: .line 147
      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 151
            iload 3 /* eventsCount */
            istore 5 /* i */
        start local 5 // int i
        23: .line 152
            goto 27
        24: .line 153
      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 154
            goto 28
        26: .line 152
      StackMap locals:
      StackMap stack:
            iinc 5 /* i */ -1
      StackMap locals:
      StackMap stack:
        27: iload 5 /* i */
            ifgt 24
        28: .line 157
      StackMap locals:
      StackMap stack:
            iload 5 /* i */
            iload 3 /* eventsCount */
            if_icmpne 34
        29: .line 164
            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 166
            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 167
            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 170
      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 171
            goto 35
        34: .line 172
      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 174
      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 105
      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 178
      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 200
            aload 0 /* this */
            getfield javax.sound.midi.Track.eventsList:Ljava/util/ArrayList;
            dup
            astore 2
            monitorenter
         1: .line 201
            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 202
            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 203
            iload 3 /* i */
            iflt 7
         4: .line 204
            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 205
            aload 2
            monitorexit
         6: iconst_1
            ireturn
        end local 3 // int i
         7: .line 200
      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 209
      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 223
            aload 0 /* this */
            getfield javax.sound.midi.Track.eventsList:Ljava/util/ArrayList;
            dup
            astore 2
            monitorenter
         1: .line 224
            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 223
      StackMap locals: javax.sound.midi.Track int java.util.ArrayList
      StackMap stack: java.lang.Throwable
            aload 2
            monitorexit
         4: athrow
         5: .line 226
      StackMap locals: javax.sound.midi.Track int
      StackMap stack: java.lang.IndexOutOfBoundsException
            astore 2 /* ioobe */
        start local 2 // java.lang.IndexOutOfBoundsException ioobe
         6: .line 227
            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 237
            aload 0 /* this */
            getfield javax.sound.midi.Track.eventsList:Ljava/util/ArrayList;
            dup
            astore 1
            monitorenter
         1: .line 238
            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 237
      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 254
            lconst_0
            lstore 1 /* ret */
        start local 1 // long ret
         1: .line 255
            aload 0 /* this */
            getfield javax.sound.midi.Track.eventsList:Ljava/util/ArrayList;
            dup
            astore 3
            monitorenter
         2: .line 256
            aload 0 /* this */
            getfield javax.sound.midi.Track.eventsList:Ljava/util/ArrayList;
            invokevirtual java.util.ArrayList.size:()I
            ifle 4
         3: .line 257
            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 255
      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 260
      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