public class SubSeriesDataset extends AbstractIntervalXYDataset implements OHLCDataset, IntervalXYDataset, CombinationDataset
SeriesDataset
.Constructor and Description |
---|
SubSeriesDataset(SeriesDataset parent,
int series)
Deprecated.
Creates a SubSeriesDataset using one series from
parent . |
SubSeriesDataset(SeriesDataset parent,
int[] map)
Deprecated.
Creates a SubSeriesDataset using one or more series from
parent . |
Modifier and Type | Method and Description |
---|---|
Number |
getClose(int series,
int item)
Deprecated.
Returns the close-value for the specified series and item.
|
double |
getCloseValue(int series,
int item)
Deprecated.
Returns the close-value (as a double primitive) for an item within a
series.
|
Number |
getEndX(int series,
int item)
Deprecated.
Returns the ending X value for the specified series and item.
|
Number |
getEndY(int series,
int item)
Deprecated.
Returns the ending Y value for the specified series and item.
|
Number |
getHigh(int series,
int item)
Deprecated.
Returns the high-value for the specified series and item.
|
double |
getHighValue(int series,
int item)
Deprecated.
Returns the high-value (as a double primitive) for an item within a
series.
|
int |
getItemCount(int series)
Deprecated.
Returns the number of items in a series.
|
Number |
getLow(int series,
int item)
Deprecated.
Returns the low-value for the specified series and item.
|
double |
getLowValue(int series,
int item)
Deprecated.
Returns the low-value (as a double primitive) for an item within a
series.
|
int[] |
getMap()
Deprecated.
Returns a map or indirect indexing form our series into parent's series.
|
Number |
getOpen(int series,
int item)
Deprecated.
Returns the open-value for the specified series and item.
|
double |
getOpenValue(int series,
int item)
Deprecated.
Returns the open-value (as a double primitive) for an item within a
series.
|
SeriesDataset |
getParent()
Deprecated.
Returns the parent Dataset of this combination.
|
int |
getSeriesCount()
Deprecated.
Returns the number of series in the dataset.
|
Comparable |
getSeriesKey(int series)
Deprecated.
Returns the key for a series.
|
Number |
getStartX(int series,
int item)
Deprecated.
Returns the starting X value for the specified series and item.
|
Number |
getStartY(int series,
int item)
Deprecated.
Returns the starting Y value for the specified series and item.
|
Number |
getVolume(int series,
int item)
Deprecated.
Returns the volume.
|
double |
getVolumeValue(int series,
int item)
Deprecated.
Returns the volume-value (as a double primitive) for an item within a
series.
|
Number |
getX(int series,
int item)
Deprecated.
Returns the X-value for the specified series and item.
|
Number |
getY(int series,
int item)
Deprecated.
Returns the Y-value for the specified series and item.
|
getEndXValue, getEndYValue, getStartXValue, getStartYValue
getDomainOrder, getXValue, getYValue
indexOf, seriesChanged
addChangeListener, clone, getGroup, getNotify, hasListener, removeChangeListener, setGroup, setNotify, validateObject
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEndXValue, getEndYValue, getStartXValue, getStartYValue
getDomainOrder, getXValue, getYValue
indexOf
addChangeListener, getGroup, removeChangeListener, setGroup
public SubSeriesDataset(SeriesDataset parent, int[] map)
parent
. The series to use are passed as an array of int.parent
- underlying datasetmap
- int[] of series from parent to include in this Datasetpublic SubSeriesDataset(SeriesDataset parent, int series)
parent
.
The series to is passed as an int.parent
- underlying datasetseries
- series from parent to include in this Datasetpublic Number getHigh(int series, int item)
Note: throws ClassCastException
if the series if not from a
OHLCDataset
.
getHigh
in interface OHLCDataset
series
- the index of the series of interest (zero-based).item
- the index of the item of interest (zero-based).public double getHighValue(int series, int item)
getHighValue
in interface OHLCDataset
series
- the series (zero-based index).item
- the item (zero-based index).public Number getLow(int series, int item)
Note: throws ClassCastException
if the series if not from a
OHLCDataset
.
getLow
in interface OHLCDataset
series
- the index of the series of interest (zero-based).item
- the index of the item of interest (zero-based).public double getLowValue(int series, int item)
getLowValue
in interface OHLCDataset
series
- the series (zero-based index).item
- the item (zero-based index).public Number getOpen(int series, int item)
Note: throws ClassCastException
if the series if not from a
OHLCDataset
.
getOpen
in interface OHLCDataset
series
- the index of the series of interest (zero-based).item
- the index of the item of interest (zero-based).public double getOpenValue(int series, int item)
getOpenValue
in interface OHLCDataset
series
- the series (zero-based index).item
- the item (zero-based index).public Number getClose(int series, int item)
Note: throws ClassCastException
if the series if not from a
OHLCDataset
.
getClose
in interface OHLCDataset
series
- the index of the series of interest (zero-based).item
- the index of the item of interest (zero-based).public double getCloseValue(int series, int item)
getCloseValue
in interface OHLCDataset
series
- the series (zero-based index).item
- the item (zero-based index).public Number getVolume(int series, int item)
Note: throws ClassCastException
if the series if not from a
OHLCDataset
.
getVolume
in interface OHLCDataset
series
- the series (zero based index).item
- the item (zero based index).public double getVolumeValue(int series, int item)
getVolumeValue
in interface OHLCDataset
series
- the series (zero-based index).item
- the item (zero-based index).public Number getX(int series, int item)
Note: throws ClassCastException
if the series if not from a
XYDataset
.
public Number getY(int series, int item)
Note: throws ClassCastException
if the series if not from a
XYDataset
.
public int getItemCount(int series)
Note: throws ClassCastException
if the series if not from a
XYDataset
.
getItemCount
in interface XYDataset
series
- the index of the series of interest (zero-based).public int getSeriesCount()
getSeriesCount
in interface SeriesDataset
getSeriesCount
in class AbstractSeriesDataset
public Comparable getSeriesKey(int series)
getSeriesKey
in interface SeriesDataset
getSeriesKey
in class AbstractSeriesDataset
series
- the series (zero-based index).public Number getStartX(int series, int item)
getStartX
in interface IntervalXYDataset
series
- the index of the series of interest (zero-based).item
- the index of the item of interest (zero-based).public Number getEndX(int series, int item)
getEndX
in interface IntervalXYDataset
series
- the index of the series of interest (zero-based).item
- the index of the item of interest (zero-based).public Number getStartY(int series, int item)
getStartY
in interface IntervalXYDataset
series
- the index of the series of interest (zero-based).item
- the index of the item of interest (zero-based).public Number getEndY(int series, int item)
getEndY
in interface IntervalXYDataset
series
- the index of the series of interest (zero-based).item
- the index of the item of interest (zero-based).public SeriesDataset getParent()
getParent
in interface CombinationDataset
public int[] getMap()
getMap
in interface CombinationDataset
Jas4pp 1.5 © Java Analysis Studio for Particle Physics