Class XyzDataSeries<TX,TY,TZ>
A DataSeries to store Xyz data-points, containing X, Y and Z values.
Inheritance
Implements
Inherited Members
Namespace:
Assembly: .dll
Syntax
public class XyzDataSeries<TX,TY,TZ> extends dataSeries.XDataSeries<TX,TY> implements dataSeries.IXyzDataSeries<TX,TY,TZ>
Type Parameters
Name | Description |
---|---|
TX | |
TY | |
TZ |
Constructors
XyzDataSeries(Class<TX> xType, Class<TY> yType, Class<TZ> zType)
Creates a new instance of XyzDataSeries class
Declaration
public XyzDataSeries(Class<TX> xType, Class<TY> yType, Class<TZ> zType)
Parameters
Type | Name | Description |
---|---|---|
Class<TX> | xType | The Type of X Data (TX) |
Class<TY> | yType | The Type of Y Data (TY) |
Class<TZ> | zType | The Type of Z Data (TZ) |
XyzDataSeries(Class<TX> xType, Class<TY> yType, Class<TZ> zType, IDataDistributionCalculator<TX> dataDistributionCalculator)
Creates a new instance of XyzDataSeries class
Declaration
public XyzDataSeries(Class<TX> xType, Class<TY> yType, Class<TZ> zType, IDataDistributionCalculator<TX> dataDistributionCalculator)
Parameters
Type | Name | Description |
---|---|---|
Class<TX> | xType | The Type of X Data (TX) |
Class<TY> | yType | The Type of Y Data (TY) |
Class<TZ> | zType | The Type of Z Data (TZ) |
IDataDistributionCalculator<TX> | dataDistributionCalculator | An optional DataDistributionCalculator, which can be used to specify Sorted Ascending and Evenly Spaced flags |
Fields
zType
Declaration
protected final Class<TZ> zType
Field Value
Type | Description |
---|---|
Class<TZ> |
Methods
append(TX xValue, TY yValue, TZ zValue)
Appends X, Y and Z value to this series
Declaration
public void append(TX xValue, TY yValue, TZ zValue)
Parameters
Type | Name | Description |
---|---|---|
TX | xValue | |
TY | yValue | |
TZ | zValue |
append(TX[] xValues, TY[] yValues, TZ[] zValues)
Appends X, Y and Z values to this series
Declaration
public void append(TX[] xValues, TY[] yValues, TZ[] zValues)
Parameters
Type | Name | Description |
---|---|---|
TX[] | xValues | |
TY[] | yValues | |
TZ[] | zValues |
append(IValues<TX> xValues, IValues<TY> yValues, IValues<TZ> zValues)
Appends X, Y and Z values to this series
Declaration
public void append(IValues<TX> xValues, IValues<TY> yValues, IValues<TZ> zValues)
Parameters
Type | Name | Description |
---|---|---|
IValues<TX> | xValues | |
IValues<TY> | yValues | |
IValues<TZ> | zValues |
append(Iterable<TX> xValues, Iterable<TY> yValues, Iterable<TZ> zValues)
Appends X, Y and Z values to this series
Declaration
public void append(Iterable<TX> xValues, Iterable<TY> yValues, Iterable<TZ> zValues)
Parameters
Type | Name | Description |
---|---|---|
Iterable<TX> | xValues | |
Iterable<TY> | yValues | |
Iterable<TZ> | zValues |
clearColumns()
Clears content of series without recreation of internal lists
Declaration
protected void clearColumns()
Overrides
getDataSeriesType()
Gets the DataSeriesType for this DataSeries.
Declaration
public dataSeries.DataSeriesType getDataSeriesType()
Returns
Type | Description |
---|---|
dataSeries.DataSeriesType |
getHasValues()
Gets whether the DataSeries has values(is not empty).
Declaration
public boolean getHasValues()
Returns
Type | Description |
---|---|
boolean |
Overrides
getWindowedYRange(IndexRange xIndexRange, boolean getPositiveRange)
Gets the YRange of the data (min, max of the series) in the input IndexRange, where indices are point-indices on the DataSeries columns.
Declaration
public IRange<TY> getWindowedYRange(IndexRange xIndexRange, boolean getPositiveRange)
Parameters
Type | Name | Description |
---|---|---|
IndexRange | xIndexRange | |
boolean | getPositiveRange |
Returns
Type | Description |
---|---|
IRange<TY> |
getYValues()
Gets the Y Values of this series
Declaration
public ISciList<TY> getYValues()
Returns
Type | Description |
---|---|
ISciList<TY> |
getZType()
Gets the type of the Z-Data
Declaration
public final Class<TZ> getZType()
Returns
Type | Description |
---|---|
Class<TZ> | Z-Data type |
getZValues()
Gets the Z Values of this series
Declaration
public ISciList<TZ> getZValues()
Returns
Type | Description |
---|---|
ISciList<TZ> |
initColumns()
Creates internal lists
Declaration
protected void initColumns()
Overrides
initColumnsAsFifo(int fifoCapacity)
Creates internal list as FIFO
Declaration
protected void initColumnsAsFifo(int fifoCapacity)
Parameters
Type | Name | Description |
---|---|---|
int | fifoCapacity |
Overrides
insert(int index, TX x, TY y, TZ z)
Inserts X, Y and Z value at specified location
Declaration
public void insert(int index, TX x, TY y, TZ z)
Parameters
Type | Name | Description |
---|---|---|
int | index | |
TX | x | |
TY | y | |
TZ | z |
insertRange(int startIndex, TX[] xValues, TY[] yValues, TZ[] zValues)
Inserts X, Y and Z values at specified location
Declaration
public void insertRange(int startIndex, TX[] xValues, TY[] yValues, TZ[] zValues)
Parameters
Type | Name | Description |
---|---|---|
int | startIndex | |
TX[] | xValues | |
TY[] | yValues | |
TZ[] | zValues |
insertRange(int startIndex, IValues<TX> xValues, IValues<TY> yValues, IValues<TZ> zValues)
Inserts X, Y and Z values at specified location
Declaration
public void insertRange(int startIndex, IValues<TX> xValues, IValues<TY> yValues, IValues<TZ> zValues)
Parameters
Type | Name | Description |
---|---|---|
int | startIndex | |
IValues<TX> | xValues | |
IValues<TY> | yValues | |
IValues<TZ> | zValues |
insertRange(int startIndex, Iterable<TX> xValues, Iterable<TY> yValues, Iterable<TZ> zValues)
Inserts X, Y and Z values at specified location
Declaration
public void insertRange(int startIndex, Iterable<TX> xValues, Iterable<TY> yValues, Iterable<TZ> zValues)
Parameters
Type | Name | Description |
---|---|---|
int | startIndex | |
Iterable<TX> | xValues | |
Iterable<TY> | yValues | |
Iterable<TZ> | zValues |
removeAt(int index)
Removes data points at specified location
Declaration
public void removeAt(int index)
Parameters
Type | Name | Description |
---|---|---|
int | index |
removeRange(int startIndex, int count)
Removes the range of data points
Declaration
public void removeRange(int startIndex, int count)
Parameters
Type | Name | Description |
---|---|---|
int | startIndex | |
int | count |
updateRangeXAt(int index, TX[] xValues)
Updates X values at specified location
Declaration
public void updateRangeXAt(int index, TX[] xValues)
Parameters
Type | Name | Description |
---|---|---|
int | index | |
TX[] | xValues |
updateRangeXAt(int index, IValues<TX> xValues)
Updates X values at specified location
Declaration
public void updateRangeXAt(int index, IValues<TX> xValues)
Parameters
Type | Name | Description |
---|---|---|
int | index | |
IValues<TX> | xValues |
updateRangeXAt(int index, Iterable<TX> xValues)
Updates X values at specified location
Declaration
public void updateRangeXAt(int index, Iterable<TX> xValues)
Parameters
Type | Name | Description |
---|---|---|
int | index | |
Iterable<TX> | xValues |
updateRangeXyzAt(int index, TX[] xValues, TY[] yValues, TZ[] zValues)
Updates X, Y and Z values at specified location
Declaration
public void updateRangeXyzAt(int index, TX[] xValues, TY[] yValues, TZ[] zValues)
Parameters
Type | Name | Description |
---|---|---|
int | index | |
TX[] | xValues | |
TY[] | yValues | |
TZ[] | zValues |
updateRangeXyzAt(int index, IValues<TX> xValues, IValues<TY> yValues, IValues<TZ> zValues)
Updates X, Y and Z values at specified location
Declaration
public void updateRangeXyzAt(int index, IValues<TX> xValues, IValues<TY> yValues, IValues<TZ> zValues)
Parameters
Type | Name | Description |
---|---|---|
int | index | |
IValues<TX> | xValues | |
IValues<TY> | yValues | |
IValues<TZ> | zValues |
updateRangeXyzAt(int index, Iterable<TX> xValues, Iterable<TY> yValues, Iterable<TZ> zValues)
Updates X, Y and Z values at specified location
Declaration
public void updateRangeXyzAt(int index, Iterable<TX> xValues, Iterable<TY> yValues, Iterable<TZ> zValues)
Parameters
Type | Name | Description |
---|---|---|
int | index | |
Iterable<TX> | xValues | |
Iterable<TY> | yValues | |
Iterable<TZ> | zValues |
updateRangeYAt(int index, TY[] yValues)
Updates Y values at specified location
Declaration
public void updateRangeYAt(int index, TY[] yValues)
Parameters
Type | Name | Description |
---|---|---|
int | index | |
TY[] | yValues |
updateRangeYAt(int index, IValues<TY> yValues)
Updates Y values at specified location
Declaration
public void updateRangeYAt(int index, IValues<TY> yValues)
Parameters
Type | Name | Description |
---|---|---|
int | index | |
IValues<TY> | yValues |
updateRangeYAt(int index, Iterable<TY> yValues)
Updates Y values at specified location
Declaration
public void updateRangeYAt(int index, Iterable<TY> yValues)
Parameters
Type | Name | Description |
---|---|---|
int | index | |
Iterable<TY> | yValues |
updateRangeZAt(int index, TZ[] zValues)
Updates Z values at specified location
Declaration
public void updateRangeZAt(int index, TZ[] zValues)
Parameters
Type | Name | Description |
---|---|---|
int | index | |
TZ[] | zValues |
updateRangeZAt(int index, IValues<TZ> zValues)
Updates Z values at specified location
Declaration
public void updateRangeZAt(int index, IValues<TZ> zValues)
Parameters
Type | Name | Description |
---|---|---|
int | index | |
IValues<TZ> | zValues |
updateRangeZAt(int index, Iterable<TZ> zValues)
Updates Z values at specified location
Declaration
public void updateRangeZAt(int index, Iterable<TZ> zValues)
Parameters
Type | Name | Description |
---|---|---|
int | index | |
Iterable<TZ> | zValues |
updateXAt(int index, TX xValue)
Updates X value at specified location
Declaration
public void updateXAt(int index, TX xValue)
Parameters
Type | Name | Description |
---|---|---|
int | index | |
TX | xValue |
updateXyzAt(int index, TX xValue, TY yValue, TZ zValue)
Updates X, Y and Z value at specified location
Declaration
public void updateXyzAt(int index, TX xValue, TY yValue, TZ zValue)
Parameters
Type | Name | Description |
---|---|---|
int | index | |
TX | xValue | |
TY | yValue | |
TZ | zValue |
updateYAt(int index, TY yValue)
Updates Y value at specified location
Declaration
public void updateYAt(int index, TY yValue)
Parameters
Type | Name | Description |
---|---|---|
int | index | |
TY | yValue |
updateYRange(IRange<TY> yRange)
Sets the total extents of the IDataSeries in the Y direction.
Declaration
protected void updateYRange(IRange<TY> yRange)
Parameters
Type | Name | Description |
---|---|---|
IRange<TY> | yRange |
Overrides
updateZAt(int index, TZ zValue)
Updates Z value at specified location
Declaration
public void updateZAt(int index, TZ zValue)
Parameters
Type | Name | Description |
---|---|---|
int | index | |
TZ | zValue |