Class SequenceData

java.lang.Object
qa.generator.sequence.SequenceData
All Implemented Interfaces:
Comparable<SequenceData>

public class SequenceData extends Object implements Comparable<SequenceData>
  • Constructor Details

    • SequenceData

      public SequenceData(SoundSequence soundSequence, int sequencePosition, long startSample, double amplitude)
      Parameters:
      startSample -
      amplitude -
  • Method Details

    • compareTo

      public int compareTo(SequenceData other)
      Specified by:
      compareTo in interface Comparable<SequenceData>
    • getStartSample

      public long getStartSample()
      Returns:
      the startSample
    • setStartSample

      public void setStartSample(long startSample)
      Parameters:
      startSample - the startSample to set
    • getAmplitude

      public double getAmplitude()
      Returns:
      the amplitude
    • setAmplitude

      public void setAmplitude(double amplitude)
      Parameters:
      amplitude - the amplitude to set
    • getSoundSequence

      public SoundSequence getSoundSequence()
      Returns:
      the soundSequence
    • setSoundSequence

      public void setSoundSequence(SoundSequence soundSequence)
      Parameters:
      soundSequence - the soundSequence to set
    • getSequencePosition

      public int getSequencePosition()
      Returns:
      the sequencePosition
    • setSequencePosition

      public void setSequencePosition(int sequencePosition)
      Parameters:
      sequencePosition - the sequencePosition to set