|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.cmu.sphinx.frontend.DoubleData
A Data object that holds data of primitive type double.
Constructor Summary | |
DoubleData(double[] values,
int sampleRate,
long collectTime,
long firstSampleNumber)
Constructs a Data object with the given values, collect time, and first sample number. |
Method Summary | |
java.lang.Object |
clone()
Returns a clone of this Data object. |
long |
getCollectTime()
Returns the time in milliseconds at which the audio data is collected. |
long |
getFirstSampleNumber()
Returns the position of the first sample in the original data. |
int |
getSampleRate()
Returns the sample rate of the data. |
double[] |
getValues()
Returns the values of this DoubleData object. |
java.lang.String |
toString()
Returns a string that describes this DoubleData. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DoubleData(double[] values, int sampleRate, long collectTime, long firstSampleNumber)
values
- the data valuessampleRate
- the sample rate of the datacollectTime
- the time at which this data is collectedfirstSampleNumber
- the position of the first sample in the
original dataMethod Detail |
public java.lang.String toString()
public double[] getValues()
public int getSampleRate()
public long getFirstSampleNumber()
public long getCollectTime()
public java.lang.Object clone()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |