public class javax.sound.midi.Sequence
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.sound.midi.Sequence
super_class: java.lang.Object
{
public static final float PPQ;
descriptor: F
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0.0
public static final float SMPTE_24;
descriptor: F
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 24.0
public static final float SMPTE_25;
descriptor: F
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 25.0
public static final float SMPTE_30DROP;
descriptor: F
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 29.97
public static final float SMPTE_30;
descriptor: F
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 30.0
protected float divisionType;
descriptor: F
flags: (0x0004) ACC_PROTECTED
protected int resolution;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected java.util.Vector<javax.sound.midi.Track> tracks;
descriptor: Ljava/util/Vector;
flags: (0x0004) ACC_PROTECTED
Signature: Ljava/util/Vector<Ljavax/sound/midi/Track;>;
public void <init>(float, int);
descriptor: (FI)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
putfield javax.sound.midi.Sequence.tracks:Ljava/util/Vector;
2: fload 1
fconst_0
fcmpl
ifne 4
3: aload 0
fconst_0
putfield javax.sound.midi.Sequence.divisionType:F
goto 13
4: StackMap locals: javax.sound.midi.Sequence float int
StackMap stack:
fload 1
ldc 24.0
fcmpl
ifne 6
5: aload 0
ldc 24.0
putfield javax.sound.midi.Sequence.divisionType:F
goto 13
6: StackMap locals:
StackMap stack:
fload 1
ldc 25.0
fcmpl
ifne 8
7: aload 0
ldc 25.0
putfield javax.sound.midi.Sequence.divisionType:F
goto 13
8: StackMap locals:
StackMap stack:
fload 1
ldc 29.97
fcmpl
ifne 10
9: aload 0
ldc 29.97
putfield javax.sound.midi.Sequence.divisionType:F
goto 13
10: StackMap locals:
StackMap stack:
fload 1
ldc 30.0
fcmpl
ifne 12
11: aload 0
ldc 30.0
putfield javax.sound.midi.Sequence.divisionType:F
goto 13
12: StackMap locals:
StackMap stack:
new javax.sound.midi.InvalidMidiDataException
dup
new java.lang.StringBuilder
dup
ldc "Unsupported division type: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
fload 1
invokevirtual java.lang.StringBuilder.append:(F)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial javax.sound.midi.InvalidMidiDataException.<init>:(Ljava/lang/String;)V
athrow
13: StackMap locals:
StackMap stack:
aload 0
iload 2
putfield javax.sound.midi.Sequence.resolution:I
14: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljavax/sound/midi/Sequence;
0 15 1 divisionType F
0 15 2 resolution I
Exceptions:
throws javax.sound.midi.InvalidMidiDataException
MethodParameters:
Name Flags
divisionType
resolution
public void <init>(float, int, int);
descriptor: (FII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
putfield javax.sound.midi.Sequence.tracks:Ljava/util/Vector;
2: fload 1
fconst_0
fcmpl
ifne 4
3: aload 0
fconst_0
putfield javax.sound.midi.Sequence.divisionType:F
goto 13
4: StackMap locals: javax.sound.midi.Sequence float int int
StackMap stack:
fload 1
ldc 24.0
fcmpl
ifne 6
5: aload 0
ldc 24.0
putfield javax.sound.midi.Sequence.divisionType:F
goto 13
6: StackMap locals:
StackMap stack:
fload 1
ldc 25.0
fcmpl
ifne 8
7: aload 0
ldc 25.0
putfield javax.sound.midi.Sequence.divisionType:F
goto 13
8: StackMap locals:
StackMap stack:
fload 1
ldc 29.97
fcmpl
ifne 10
9: aload 0
ldc 29.97
putfield javax.sound.midi.Sequence.divisionType:F
goto 13
10: StackMap locals:
StackMap stack:
fload 1
ldc 30.0
fcmpl
ifne 12
11: aload 0
ldc 30.0
putfield javax.sound.midi.Sequence.divisionType:F
goto 13
12: StackMap locals:
StackMap stack:
new javax.sound.midi.InvalidMidiDataException
dup
new java.lang.StringBuilder
dup
ldc "Unsupported division type: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
fload 1
invokevirtual java.lang.StringBuilder.append:(F)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial javax.sound.midi.InvalidMidiDataException.<init>:(Ljava/lang/String;)V
athrow
13: StackMap locals:
StackMap stack:
aload 0
iload 2
putfield javax.sound.midi.Sequence.resolution:I
14: iconst_0
istore 4
start local 4 15: goto 18
16: StackMap locals: int
StackMap stack:
aload 0
getfield javax.sound.midi.Sequence.tracks:Ljava/util/Vector;
new javax.sound.midi.Track
dup
invokespecial javax.sound.midi.Track.<init>:()V
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
17: iinc 4 1
StackMap locals:
StackMap stack:
18: iload 4
iload 3
if_icmplt 16
end local 4 19: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Ljavax/sound/midi/Sequence;
0 20 1 divisionType F
0 20 2 resolution I
0 20 3 numTracks I
15 19 4 i I
Exceptions:
throws javax.sound.midi.InvalidMidiDataException
MethodParameters:
Name Flags
divisionType
resolution
numTracks
public float getDivisionType();
descriptor: ()F
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.sound.midi.Sequence.divisionType:F
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/sound/midi/Sequence;
public int getResolution();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.sound.midi.Sequence.resolution:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/sound/midi/Sequence;
public javax.sound.midi.Track createTrack();
descriptor: ()Ljavax/sound/midi/Track;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new javax.sound.midi.Track
dup
invokespecial javax.sound.midi.Track.<init>:()V
astore 1
start local 1 1: aload 0
getfield javax.sound.midi.Sequence.tracks:Ljava/util/Vector;
aload 1
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/sound/midi/Sequence;
1 3 1 track Ljavax/sound/midi/Track;
public boolean deleteTrack(javax.sound.midi.Track);
descriptor: (Ljavax/sound/midi/Track;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.sound.midi.Sequence.tracks:Ljava/util/Vector;
aload 1
invokevirtual java.util.Vector.removeElement:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/sound/midi/Sequence;
0 1 1 track Ljavax/sound/midi/Track;
MethodParameters:
Name Flags
track
public javax.sound.midi.Track[] getTracks();
descriptor: ()[Ljavax/sound/midi/Track;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.sound.midi.Sequence.tracks:Ljava/util/Vector;
iconst_0
anewarray javax.sound.midi.Track
invokevirtual java.util.Vector.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast javax.sound.midi.Track[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/sound/midi/Sequence;
public long getMicrosecondLength();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
aload 0
invokevirtual javax.sound.midi.Sequence.getTickLength:()J
aconst_null
invokestatic com.sun.media.sound.MidiUtils.tick2microsecond:(Ljavax/sound/midi/Sequence;JLcom/sun/media/sound/MidiUtils$TempoCache;)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/sound/midi/Sequence;
public long getTickLength();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=1
start local 0 0: lconst_0
lstore 1
start local 1 1: aload 0
getfield javax.sound.midi.Sequence.tracks:Ljava/util/Vector;
dup
astore 3
monitorenter
2: iconst_0
istore 4
start local 4 3: goto 8
4: StackMap locals: long java.util.Vector int
StackMap stack:
aload 0
getfield javax.sound.midi.Sequence.tracks:Ljava/util/Vector;
iload 4
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast javax.sound.midi.Track
invokevirtual javax.sound.midi.Track.ticks:()J
lstore 5
start local 5 5: lload 5
lload 1
lcmp
ifle 7
6: lload 5
lstore 1
end local 5 7: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
8: iload 4
aload 0
getfield javax.sound.midi.Sequence.tracks:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
if_icmplt 4
end local 4 9: lload 1
aload 3
monitorexit
10: lreturn
11: StackMap locals: javax.sound.midi.Sequence long java.util.Vector
StackMap stack: java.lang.Throwable
aload 3
monitorexit
12: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljavax/sound/midi/Sequence;
1 13 1 length J
3 9 4 i I
5 7 5 temp J
Exception table:
from to target type
2 10 11 any
11 12 11 any
public javax.sound.midi.Patch[] getPatchList();
descriptor: ()[Ljavax/sound/midi/Patch;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
anewarray javax.sound.midi.Patch
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/sound/midi/Sequence;
}
SourceFile: "Sequence.java"
InnerClasses:
public final TempoCache = com.sun.media.sound.MidiUtils$TempoCache of com.sun.media.sound.MidiUtils