Class Series<T>

java.lang.Object
trade.invision.indicators.series.Series<T>
Type Parameters:
T - the immutable type
Direct Known Subclasses:
BarSeries, Indicator.CacheSeries, NumSeries

public class Series<T> extends Object
Series is a class that provides a simple interface for storing and retrieving values from a series. Values can only be added to this Series, except for the last value, which can be replaced with a new value. When the number of values stored in this Series exceed a configurable maximum upon adding a new value, then values at the beginning of this Series are removed. Values should be of an immutable type. This class is not thread-safe.