Package eu.bandm.music.midi
Class MidiTrack
- All Implemented Interfaces:
Iterable<MidiEvent>
,Collection<MidiEvent>
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class java.util.AbstractCollection
addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
equals, hashCode, parallelStream, removeIf, spliterator, stream, toArray
-
Field Details
-
track
-
-
Constructor Details
-
MidiTrack
-
-
Method Details
-
size
public int size()- Specified by:
size
in interfaceCollection<MidiEvent>
- Specified by:
size
in classAbstractCollection<MidiEvent>
-
add
The semantics of "MidiEvent"s as members of MidiTracks are not totally clear: MidiEvent inherits equal() from Object, so identical messages can occur more than once at the same time point !?!?- Specified by:
add
in interfaceCollection<MidiEvent>
- Overrides:
add
in classAbstractCollection<MidiEvent>
-
iterator
- Specified by:
iterator
in interfaceCollection<MidiEvent>
- Specified by:
iterator
in interfaceIterable<MidiEvent>
- Specified by:
iterator
in classAbstractCollection<MidiEvent>
-