|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface VectorSamplesSink
This interface represents a sink for vector sample values, and only defines three methods: to add new sample vectord, to react to a segment becoming "active" (by some definition) and to react to a segment becoming "inactive".
| Method Summary | |
|---|---|
void |
addSample(double[] sample,
int index)
Adds a new sample to the sink. |
void |
segmentEnd(int index)
Should be called when it is detected that an active segment end, i.e. when it is detected that the source has become quiescent by some definition. |
void |
segmentStart(int index)
Should be called when it is detected that an active segment starts, i.e. when it is detected that the source has become active by some definition. |
| Method Detail |
|---|
void addSample(double[] sample,
int index)
sample - The new sample vector to add.index - The index of this sample. All samples are required
to be equally spaced.void segmentStart(int index)
index - The index at which the active segment starts.void segmentEnd(int index)
index - The index at which the active segment ends.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||