public class MixerDoubleDataSource extends BaseDoubleDataSource
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
hasMoreData |
protected DoubleDataSource[] |
sources |
dataLength, inputSourceNOT_SPECIFIED| Constructor and Description |
|---|
MixerDoubleDataSource(DoubleDataSource[] inputSources) |
MixerDoubleDataSource(List inputSources) |
| Modifier and Type | Method and Description |
|---|---|
int |
available()
The number of doubles that can currently be read from this double data source without blocking.
|
int |
getData(double[] target,
int targetPos,
int length)
Try to get length doubles from this DoubleDataSource, and copy them into target, starting from targetPos.
|
boolean |
hasMoreData()
Whether or not any more data can be read from this data source.
|
getAllData, getData, getData, getDataLengthprotected DoubleDataSource[] sources
protected boolean hasMoreData
public MixerDoubleDataSource(DoubleDataSource[] inputSources)
inputSources - input sourcespublic MixerDoubleDataSource(List inputSources)
inputSources - a list of DoubleDataSource objects.public boolean hasMoreData()
BaseDoubleDataSourcehasMoreData in interface DoubleDataSourcehasMoreData in class BaseDoubleDataSourcepublic int available()
available in interface DoubleDataSourceavailable in class BaseDoubleDataSourcepublic int getData(double[] target,
int targetPos,
int length)
BaseDoubleDataSourcegetData in interface DoubleDataSourcegetData in class BaseDoubleDataSourcetarget - the double array to write intotargetPos - position in target where to start writinglength - the amount of data requestedCopyright © 2000–2016 DFKI GmbH. All rights reserved.