org.openuat.sensors
Interface SegmentsSink_Int

All Known Implementing Classes:
ShakeWellBeforeUseProtocol1

public interface SegmentsSink_Int

This interface represents a sink for whole time series segments. In contrast to the SegmentsSink interface, this one uses int values for samples, and is thus better suited for resource limited scenarios like J2ME.

Version:
1.0
Author:
Rene Mayrhofer

Method Summary
 void addSegment(int[] segment, int startIndex)
          Adds a new segment to the sink.
 

Method Detail

addSegment

void addSegment(int[] segment,
                int startIndex)
Adds a new segment to the sink.

Parameters:
sample - The new time series segment to add.
index - The start index of this segment. All samples are required to be equally spaced.


2005-2009, Rene Mayrhofer.