public class DoubleTimeSeriesCollection extends TimeSeriesCollection<double[],Double,DoubleTimeSeriesCollection,DoubleTimeSeries> implements ReadWriteableASCII
DoubleTimeSeries
which may not be synchronised.timeSeriesHolder
Constructor and Description |
---|
DoubleTimeSeriesCollection() |
Modifier and Type | Method and Description |
---|---|
String |
asciiHeader()
Header for ascii input.
|
Map<String,double[]> |
getData() |
void |
internalAssign(DoubleTimeSeriesCollection interpolate) |
DoubleTimeSeries |
internalNewInstance() |
DoubleTimeSeriesCollection |
newInstance() |
void |
readASCII(Scanner in)
Read internal state from in.
|
String |
toString() |
void |
writeASCII(PrintWriter out)
Write the content of this as ascii to out.
|
addTimeSeries, allseries, collectionByNames, collectionByNames, convertInternal, convertInternal, get, get, get, get, getNames, getTimes, iterator, nSeries, processInternal, processInternalInplace, series, set, size
convert, convert, copy, get, internalAssign, process, processInplace
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public DoubleTimeSeriesCollection()
public DoubleTimeSeries internalNewInstance()
internalNewInstance
in class TimeSeriesCollection<double[],Double,DoubleTimeSeriesCollection,DoubleTimeSeries>
public DoubleTimeSeriesCollection newInstance()
newInstance
in class TimeSeries<Map<String,double[]>,Map<String,Double>,DoubleTimeSeriesCollection>
public Map<String,double[]> getData()
getData
in class TimeSeriesCollection<double[],Double,DoubleTimeSeriesCollection,DoubleTimeSeries>
public void internalAssign(DoubleTimeSeriesCollection interpolate)
internalAssign
in class TimeSeries<Map<String,double[]>,Map<String,Double>,DoubleTimeSeriesCollection>
interpolate
- assign this timeseries to the internal one, efforts should be
made to copy the data, not simply assign itpublic String toString()
toString
in class TimeSeries<Map<String,double[]>,Map<String,Double>,DoubleTimeSeriesCollection>
public void readASCII(Scanner in) throws IOException
ReadableASCII
readASCII
in interface ReadableASCII
in
- source to read from.IOException
- an error reading inputpublic String asciiHeader()
ReadableASCII
asciiHeader
in interface ReadableASCII
asciiHeader
in interface WriteableASCII
public void writeASCII(PrintWriter out) throws IOException
WriteableASCII
writeASCII
in interface WriteableASCII
out
- sink to write toIOException
- an error writing to out