|
Kieker 1.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object kieker.tools.tslib.TimeSeries<T>
T
- public class TimeSeries<T>
Field Summary |
---|
Fields inherited from interface kieker.tools.tslib.ITimeSeries |
---|
INFINITE_CAPACITY |
Constructor Summary | |
---|---|
TimeSeries(long startTime,
long deltaTime,
TimeUnit deltaTimeUnit)
|
|
TimeSeries(long startTime,
long deltaTime,
TimeUnit deltaTimeUnit,
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 |
List<ITimeSeriesPoint<T>> |
getPoints()
Returns the ITimeSeriesPoint s of this time series. |
long |
getStartTime()
Returns the start of the time series, i.e., the time of the first value. |
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, long deltaTime, TimeUnit deltaTimeUnit, int capacity)
startTime
- deltaTime
- deltaTimeUnit
- capacity
- public TimeSeries(long startTime, long deltaTime, TimeUnit deltaTimeUnit)
Method Detail |
---|
public long getStartTime()
ITimeSeries
getStartTime
in interface ITimeSeries<T>
public long getDeltaTime()
ITimeSeries
TimeUnit
ITimeSeries.getDeltaTime()
.
getDeltaTime
in interface ITimeSeries<T>
public TimeUnit getDeltaTimeUnit()
ITimeSeries
TimeUnit
used to specify the temporal distance between to values (ITimeSeries.getDeltaTime()
).
getDeltaTimeUnit
in interface ITimeSeries<T>
public ITimeSeriesPoint<T> append(T value)
ITimeSeries
append
in interface ITimeSeries<T>
value
- the value to appendpublic List<ITimeSeriesPoint<T>> getPoints()
ITimeSeries
ITimeSeriesPoint
s of this time series.
getPoints
in interface ITimeSeries<T>
public List<T> getValues()
ITimeSeries
getPoints()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 Object
|
Kieker 1.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |