public interface HeatMapDataset
null
for unknown values).Modifier and Type | Method and Description |
---|---|
double |
getMaximumXValue()
Returns the highest x-value represented in this dataset.
|
double |
getMaximumYValue()
Returns the highest y-value represented in this dataset.
|
double |
getMinimumXValue()
Returns the lowest x-value represented in this dataset.
|
double |
getMinimumYValue()
Returns the lowest y-value represented in this dataset.
|
int |
getXSampleCount()
Returns the number of x values across the width of the dataset.
|
double |
getXValue(int xIndex)
A convenience method that returns the x-value for the given index.
|
int |
getYSampleCount()
Returns the number of y values (or samples) for the dataset.
|
double |
getYValue(int yIndex)
A convenience method that returns the y-value for the given index.
|
java.lang.Number |
getZ(int xIndex,
int yIndex)
Returns the z-value at the specified sample position in the dataset.
|
double |
getZValue(int xIndex,
int yIndex)
Returns the z-value at the specified sample position in the dataset.
|
int getXSampleCount()
getMinimumXValue()
and
getMaximumXValue()
.int getYSampleCount()
getMinimumYValue()
and
getMaximumYValue()
.double getMinimumXValue()
double getMaximumXValue()
double getMinimumYValue()
double getMaximumYValue()
double getXValue(int xIndex)
xIndex
- the xIndex.double getYValue(int yIndex)
yIndex
- the yIndex.double getZValue(int xIndex, int yIndex)
xIndex
- the position of the x sample in the dataset.yIndex
- the position of the y sample in the dataset.java.lang.Number getZ(int xIndex, int yIndex)
null
to indicate a missing/unknown
value.
Number
object to be allocated...
for this reason, it is generally preferable to use the
getZValue(int, int)
method unless you *know* that the dataset
implementation stores the z-values using objects.xIndex
- the position of the x sample in the dataset.yIndex
- the position of the y sample in the dataset.null
).