|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.cmu.sphinx.frontend.Signal
edu.cmu.sphinx.frontend.DataEndSignal
public class DataEndSignal
A signal that indicates the end of data.
Data
,
DataProcessor
,
Signal
,
Serialized FormConstructor Summary | |
---|---|
DataEndSignal(long duration)
Constructs a DataEndSignal. |
|
DataEndSignal(long duration,
long time)
Constructs a DataEndSignal with the given creation time. |
Method Summary | |
---|---|
long |
getDuration()
Returns the duration of the entire data stream in milliseconds |
java.lang.String |
toString()
Returns the string "DataEndSignal". |
Methods inherited from class edu.cmu.sphinx.frontend.Signal |
---|
getProps, getTime |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DataEndSignal(long duration)
duration
- the duration of the entire data stream in millisecondspublic DataEndSignal(long duration, long time)
duration
- the duration of the entire data stream in millisecondstime
- the creation time of the DataEndSignalMethod Detail |
---|
public long getDuration()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |