// Path: DGuitar/src/dguitar/adaptors/song/SongMeasureTrack.java
// public interface SongMeasureTrack
// {
// 
//     /**
//      * @param virtualTrackID
//      * @return a SongVirtualTrack for the parameter received
//      */
//     SongVirtualTrack getVirtualTrack(int virtualTrackID);
// 
//     /**
//      * @return returns a list of the events
//      */
//     //List getEvents();
// 
//     /**
//      * @return the track for this SongMeasureTrack
//      */
//     SongTrack getTrack();
// }
// 
// Path: DGuitar/src/dguitar/adaptors/song/SongVirtualTrack.java
// public interface SongVirtualTrack
// {
// 
//     /**
//      * @return the MeasureTrack 
//      */
//     SongMeasureTrack getMeasureTrack();
// 
//     /**
//      * @return the index of the Virtual Track
//      */
//     int getIndex();
//     
//     public void addEvent(SongEvent event);
//     public void addEvents(List<SongEvent> events);
//     public List<SongEvent> getEvents();
// }


import java.util.LinkedList;
import java.util.List;
import dguitar.adaptors.song.SongEvent;
import dguitar.adaptors.song.SongMeasureTrack;
import dguitar.adaptors.song.SongVirtualTrack;

/*
 * Created on Mar 16, 2005
 */
package dguitar.adaptors.song.impl;




/**
 * @author Chris
 */
public class SongVirtualTrackImpl implements SongVirtualTrack
{
    SongMeasureTrack track;
    int index;
    List<SongEvent> events = new LinkedList<SongEvent>();

    /**
     * @param track
     * @param index
     */
    public SongVirtualTrackImpl(SongMeasureTrack track, int index)
    {
        this.track = track;
        this.index = index;
    }
    /**
     * @return Returns the index.
     */
    public int getIndex()
    {
        return index;
    }
    /**
     * @return Returns the track.
     */

// Path: DGuitar/src/dguitar/adaptors/song/SongMeasureTrack.java
// public interface SongMeasureTrack
// {
// 
//     /**
//      * @param virtualTrackID
//      * @return a SongVirtualTrack for the parameter received
//      */
//     SongVirtualTrack getVirtualTrack(int virtualTrackID);
// 
//     /**
//      * @return returns a list of the events
//      */
//     //List getEvents();
// 
//     /**
//      * @return the track for this SongMeasureTrack
//      */
//     SongTrack getTrack();
// }
// 
// Path: DGuitar/src/dguitar/adaptors/song/SongVirtualTrack.java
// public interface SongVirtualTrack
// {
// 
//     /**
//      * @return the MeasureTrack 
//      */
//     SongMeasureTrack getMeasureTrack();
// 
//     /**
//      * @return the index of the Virtual Track
//      */
//     int getIndex();
//     
//     public void addEvent(SongEvent event);
//     public void addEvents(List<SongEvent> events);
//     public List<SongEvent> getEvents();
// }


// Path: DGuitar/src/dguitar/adaptors/song/impl/SongVirtualTrackImpl.java
import java.util.LinkedList;
import java.util.List;
import dguitar.adaptors.song.SongEvent;
import dguitar.adaptors.song.SongMeasureTrack;
import dguitar.adaptors.song.SongVirtualTrack;

/*
 * Created on Mar 16, 2005
 */
package dguitar.adaptors.song.impl;




/**
 * @author Chris
 */
public class SongVirtualTrackImpl implements SongVirtualTrack
{
    SongMeasureTrack track;
    int index;
    List<SongEvent> events = new LinkedList<SongEvent>();

    /**
     * @param track
     * @param index
     */
    public SongVirtualTrackImpl(SongMeasureTrack track, int index)
    {
        this.track = track;
        this.index = index;
    }
    /**
     * @return Returns the index.
     */
    public int getIndex()
    {
        return index;
    }
    /**
     * @return Returns the track.
     */

    public SongMeasureTrack getMeasureTrack()
