| Modifier and Type | Field and Description |
|---|---|
protected long[] | timestampstimestamps corresponding to data values |
protected double[] | valuesdata values |
| Constructor and Description |
|---|
Source(String name)Creates a new Source with the given name. |
| Modifier and Type | Method and Description |
|---|---|
(package private) String | getName()Returns the source name. |
(package private) long[] | getTimestamps()Returns the timestamps. |
(package private) double[] | getValues()Returns the data values. |
(package private) void | setTimestamps(long[] timestamps)Sets the timestamps. |
(package private) void | setValues(double[] values)Sets the data values. |
protected long[] timestamps
protected double[] values
Source(String name)
name - the source nameString getName()
long[] getTimestamps()
double[] getValues()
void setTimestamps(long[] timestamps)
timestamps - the timestamps arrayvoid setValues(double[] values)
values - the data values array