Changeset 1102 for trunk/src/org/apollo/audio/TrackSequence.java
- Timestamp:
- 05/10/18 16:04:51 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/apollo/audio/TrackSequence.java
r365 r1102 16 16 * 17 17 */ 18 public final class TrackSequence extends AbstractSubject implements Comparable {18 public final class TrackSequence extends AbstractSubject implements Comparable<TrackSequence> { 19 19 20 20 /** FRIENDLY: ONLY TO BE ACCESSED BY AUDIO MIXER. */ … … 159 159 * Order ascending by initiation frame 160 160 */ 161 public final int compareTo(Object o) { 162 TrackSequence other = (TrackSequence)o; // throws class cast exception 163 161 public final int compareTo(TrackSequence other) 162 { 164 163 int cmp = (new Long(initiationFrame)).compareTo(other.initiationFrame); 165 164 166 165 if (cmp == 0) { 167 168 166 return (new Integer(hashCode()).compareTo(other.hashCode())); 169 167 }
Note:
See TracChangeset
for help on using the changeset viewer.