|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HeatMapDataset
A dataset that represents a rectangular grid of (x, y, z) values. The x
and y values appear at regular intervals in the dataset, while the z-values
can take any value (including null
for unknown values).
Method Summary | |
---|---|
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. |
Method Detail |
---|
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
).
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |