< prev index next >
src/java.desktop/share/classes/javax/sound/midi/Track.java
Print this page
@@ -62,14 +62,18 @@
*/
public class Track {
// TODO: use arrays for faster access
- // the list containing the events
+ /**
+ * The list containing the events.
+ */
private final ArrayList<MidiEvent> eventsList = new ArrayList<>();
- // use a hashset to detect duplicate events in add(MidiEvent)
+ /**
+ * Use a hashset to detect duplicate events in add(MidiEvent).
+ */
private final HashSet<MidiEvent> set = new HashSet<>();
private final MidiEvent eotEvent;
/**
< prev index next >