// 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();
// }


import java.util.HashMap;
import java.util.Map;
import dguitar.adaptors.song.SongMeasure;
import dguitar.adaptors.song.SongMeasureTrack;
import dguitar.adaptors.song.SongTrack;
import dguitar.adaptors.song.TimeSignature;

/*
 * Created on Feb 28, 2005
 */
package dguitar.adaptors.song.impl;





/**
 * Implementation of SongMeasure
 * @author crnash
 */
public class SongMeasureImpl implements SongMeasure
{
    int length;
    int index;
    TimeSignature timeSignature;
    
    Map<SongTrack, SongMeasureTrack> trackMap;
    
    /**
     * @return Returns the timeSignature.
     */

// 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/impl/SongMeasureImpl.java
import java.util.HashMap;
import java.util.Map;
import dguitar.adaptors.song.SongMeasure;
import dguitar.adaptors.song.SongMeasureTrack;
import dguitar.adaptors.song.SongTrack;
import dguitar.adaptors.song.TimeSignature;

/*
 * Created on Feb 28, 2005
 */
package dguitar.adaptors.song.impl;





/**
 * Implementation of SongMeasure
 * @author crnash
 */
public class SongMeasureImpl implements SongMeasure
{
    int length;
    int index;
    TimeSignature timeSignature;
    
    Map<SongTrack, SongMeasureTrack> trackMap;
    
    /**
     * @return Returns the timeSignature.
     */

    public TimeSignature getTimeSignature()
