summaryrefslogtreecommitdiff
path: root/javax/sound/midi/Track.java
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2006-03-16 01:46:56 +0000
committerTom Tromey <tromey@redhat.com>2006-03-16 01:46:56 +0000
commit032dced22efe85e4c44b987a25cfe8a3cd16774d (patch)
treead5cc60e0c7c1b721fa528140911bc8f7a2d5ab3 /javax/sound/midi/Track.java
parentaf2ef677c33bc87f66157587c89611b6bed1d4b1 (diff)
downloadclasspath-032dced22efe85e4c44b987a25cfe8a3cd16774d.tar.gz
* javax/sound/midi/Track.java (Track): New constructor.
(events): Now package-private. * javax/sound/midi/MidiUnavailableException.java (MidiUnavailableException): Removed invalid constructors. * javax/sound/midi/MidiSystem.java (MidiSystem): New constructor. * javax/sound/midi/InvalidMidiDataException.java (InvalidMidiDataException): Removed invalid constructors. * javax/sound/midi/Sequencer.java (hashCode): Now final. * javax/sound/midi/SysexMessage.java (SysexMessage): Now protected. * javax/sound/midi/ShortMessage.java (ShortMessage): Now protected. (SYSTEM_EXCLUSIVE): Removed. (getDataLength): Updated. * javax/sound/midi/MidiDevice.java (Info): Now protected. (equals): Now final (getName): Now final. (getVendor): Now final. (getDescription): Likewise. (hashCode): Likewise. (getVersion): Likewise. (toString): Likewise. * javax/sound/midi/MetaMessage.java (MetaMessage): Now protected. * javax/sound/sampled/ReverbType.java (getDecayTime): Now final. (getEarlyReflectionDelay): Likewise. (getEarlyReflectionIntensity): Likewise. (getLateReflectionDelay): Likewise. (getLateReflectionIntensity): Likewise. (toString): Likewise. * javax/sound/sampled/Port.java (toString): Now final. * javax/sound/sampled/LineEvent.java (getFramePosition): Now final. (getLine): Likewise. (getType): Likewise. * javax/sound/sampled/Mixer.java (Info): Now protected. (getDescription): Now final. (getName): Likewise. (getVendor): Likewise. (getVersion): Likewise. (toString): Likewise. * javax/sound/sampled/Control.java: Now abstract. (Type.toString): Now final.
Diffstat (limited to 'javax/sound/midi/Track.java')
-rw-r--r--javax/sound/midi/Track.java9
1 files changed, 7 insertions, 2 deletions
diff --git a/javax/sound/midi/Track.java b/javax/sound/midi/Track.java
index da7ef2ef3..d06c8cc1d 100644
--- a/javax/sound/midi/Track.java
+++ b/javax/sound/midi/Track.java
@@ -54,11 +54,16 @@ public class Track
/**
* The list of MidiEvents for this track.
*/
- protected Vector events;
+ Vector events;
// A HashSet to speed processing
private HashSet eventSet;
-
+
+ // This is only instantiable within this package.
+ Track()
+ {
+ }
+
/**
* Add a new event to this track. Specific events may only be added once.
* The event will be inserted into the appropriate spot in the event list