Package qa.generator.sequence
Class SequenceData
java.lang.Object
qa.generator.sequence.SequenceData
- All Implemented Interfaces:
Comparable<SequenceData>
-
Constructor Summary
ConstructorDescriptionSequenceData
(SoundSequence soundSequence, int sequencePosition, long startSample, double amplitude) -
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(SequenceData other) double
int
long
void
setAmplitude
(double amplitude) void
setSequencePosition
(int sequencePosition) void
setSoundSequence
(SoundSequence soundSequence) void
setStartSample
(long startSample)
-
Constructor Details
-
SequenceData
public SequenceData(SoundSequence soundSequence, int sequencePosition, long startSample, double amplitude) - Parameters:
startSample
-amplitude
-
-
-
Method Details
-
compareTo
- Specified by:
compareTo
in interfaceComparable<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
- Returns:
- the soundSequence
-
setSoundSequence
- 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
-