return input.remove(0);
}
public List<Data> collectOutput(double blocSizeMs) throws DataProcessingException {
DataBlocker dataBlocker = new DataBlocker(blocSizeMs);
dataBlocker.setPredecessor(this);
List<Data> output = new ArrayList<Data>();
while (true) {
Data d = dataBlocker.getData();
if (d instanceof DoubleData)
output.add(d);
if (d instanceof DataEndSignal)
return output;
}