|
Kieker 1.10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectkieker.tools.tslib.TimeSeries<T>
T - The type of the time series.public class TimeSeries<T>
| Field Summary |
|---|
| Fields inherited from interface kieker.tools.tslib.ITimeSeries |
|---|
INFINITE_CAPACITY |
| Constructor Summary | |
|---|---|
TimeSeries(long startTime,
TimeUnit timeUnit,
long deltaTime)
Constructor using the timeunit as unit for internal usage and deltatime time unit. |
|
TimeSeries(long startTime,
TimeUnit timeUnit,
long deltaTime,
int frequency)
|
|
TimeSeries(long startTime,
TimeUnit timeUnit,
long deltaTime,
int frequency,
int capacity)
Constructor using the timeunit as unit for internal usage and deltatime time unit |
|
TimeSeries(long startTime,
TimeUnit timeSeriesTimeUnit,
long deltaTime,
TimeUnit deltaTimeUnit)
|
|
TimeSeries(long startTime,
TimeUnit timeSeriesTimeUnit,
long deltaTime,
TimeUnit deltaTimeUnit,
int capacity)
|
|
TimeSeries(long startTime,
TimeUnit timeSeriesTimeUnit,
long deltaTime,
TimeUnit deltaTimeUnit,
int frequency,
int capacity)
|
|
| Method Summary | |
|---|---|
ITimeSeriesPoint<T> |
append(T value)
Appends the given value to the time series. |
List<ITimeSeriesPoint<T>> |
appendAll(T[] values)
Appends the given value to the time series. |
int |
getCapacity()
Returns the maximum number of elements held in this time series. |
long |
getDeltaTime()
Returns the temporal distance between to time series values with respect to the configured TimeUnit ITimeSeries.getDeltaTime(). |
TimeUnit |
getDeltaTimeUnit()
The TimeUnit used to specify the temporal distance between to values (ITimeSeries.getDeltaTime()). |
long |
getEndTime()
Returns the time corresponding to the most recent value in the time series. |
int |
getFrequency()
Returns the frequency of the time series (how many time series points add up to an time unit of interest) needed to improve forecast accuracy e.g. |
List<ITimeSeriesPoint<T>> |
getPoints()
Returns the ITimeSeriesPoints of this time series. |
long |
getStartTime()
Returns the start of the time series, i.e., the time of the first value. |
long |
getStepSize()
Returns the step size between each item in the timeseries. |
TimeUnit |
getTimeSeriesTimeUnit()
The TimeUnit used to specify the temporal distance between to values (ITimeSeries.getStartTime()). |
List<T> |
getValues()
Returns a list of all getPoints()getValues(). |
int |
size()
Returns the number of value contained in the time series. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TimeSeries(long startTime,
TimeUnit timeSeriesTimeUnit,
long deltaTime,
TimeUnit deltaTimeUnit,
int frequency,
int capacity)
startTime - start time of TimeseriestimeSeriesTimeUnit - time unit of the startTimedeltaTime - time of timeseriesdeltaTimeUnit - Time unitcapacity - length of timeseries
public TimeSeries(long startTime,
TimeUnit timeSeriesTimeUnit,
long deltaTime,
TimeUnit deltaTimeUnit,
int capacity)
startTime - start time of TimeseriestimeSeriesTimeUnit - time unit of the startTimedeltaTime - time of timeseriesdeltaTimeUnit - Time unitcapacity - length of timeseries
public TimeSeries(long startTime,
TimeUnit timeSeriesTimeUnit,
long deltaTime,
TimeUnit deltaTimeUnit)
startTime - start time of TimeseriestimeSeriesTimeUnit - time unit of the startTimedeltaTime - time of timeseriesdeltaTimeUnit - Time unit
public TimeSeries(long startTime,
TimeUnit timeUnit,
long deltaTime)
public TimeSeries(long startTime,
TimeUnit timeUnit,
long deltaTime,
int frequency,
int capacity)
public TimeSeries(long startTime,
TimeUnit timeUnit,
long deltaTime,
int frequency)
| Method Detail |
|---|
public long getStartTime()
ITimeSeries
getStartTime in interface ITimeSeries<T>public TimeUnit getTimeSeriesTimeUnit()
ITimeSeriesTimeUnit used to specify the temporal distance between to values (ITimeSeries.getStartTime()).
getTimeSeriesTimeUnit in interface ITimeSeries<T>public long getDeltaTime()
ITimeSeriesTimeUnit ITimeSeries.getDeltaTime().
getDeltaTime in interface ITimeSeries<T>public TimeUnit getDeltaTimeUnit()
ITimeSeriesTimeUnit used to specify the temporal distance between to values (ITimeSeries.getDeltaTime()).
getDeltaTimeUnit in interface ITimeSeries<T>public long getStepSize()
TimeUnit of the stepSize is equal to the timeSeriesTimeUnit.
public ITimeSeriesPoint<T> append(T value)
ITimeSeries
append in interface ITimeSeries<T>value - value which should append to timeseries
public List<ITimeSeriesPoint<T>> getPoints()
ITimeSeriesITimeSeriesPoints of this time series.
getPoints in interface ITimeSeries<T>public List<T> getValues()
ITimeSeriesgetPoints()getValues().
getValues in interface ITimeSeries<T>public int getCapacity()
ITimeSeries
getCapacity in interface ITimeSeries<T>ITimeSeries.INFINITE_CAPACITY if the capacity is infinitepublic int size()
ITimeSeries
size in interface ITimeSeries<T>public long getEndTime()
ITimeSeries
getEndTime in interface ITimeSeries<T>public List<ITimeSeriesPoint<T>> appendAll(T[] values)
ITimeSeries
appendAll in interface ITimeSeries<T>public String toString()
toString in class Objectpublic int getFrequency()
ITimeSeries
getFrequency in interface ITimeSeries<T>
|
Kieker 1.10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||