Ignore:
Timestamp:
05/10/18 16:04:51 (6 years ago)
Author:
davidb
Message:

Reworking of the code-base to separate logic from graphics. This version of Expeditee now supports a JFX graphics as an alternative to SWING

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/apollo/audio/TrackSequence.java

    r365 r1102  
    1616 *
    1717 */
    18 public final class TrackSequence extends AbstractSubject implements Comparable {
     18public final class TrackSequence extends AbstractSubject implements Comparable<TrackSequence> {
    1919
    2020        /** FRIENDLY: ONLY TO BE ACCESSED BY AUDIO MIXER. */
     
    159159         * Order ascending by initiation frame
    160160         */
    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        {
    164163                int cmp = (new Long(initiationFrame)).compareTo(other.initiationFrame);
    165164
    166165                if (cmp == 0) {
    167                        
    168166                        return (new Integer(hashCode()).compareTo(other.hashCode()));
    169167                }
Note: See TracChangeset for help on using the changeset viewer.