T - the type of value stored in the grid.public interface Values2D<T>
| Modifier and Type | Method and Description |
|---|---|
int |
getColumnCount()
Returns the number of columns in the grid.
|
double |
getDoubleValue(int rowIndex,
int columnIndex)
Returns the data value at the specified position as a double primitive,
or
Double.NaN if the value is not an instance of
Number. |
int |
getRowCount()
Returns the number of rows in the grid.
|
T |
getValue(int rowIndex,
int columnIndex)
Returns the data item at the specified position.
|
int getRowCount()
int getColumnCount()
T getValue(int rowIndex, int columnIndex)
rowIndex - the row index.columnIndex - the column index.null).double getDoubleValue(int rowIndex, int columnIndex)
Double.NaN if the value is not an instance of
Number. Where the getValue(int, int) method
returns null, this method returns Double.NaN.rowIndex - the row index.columnIndex - the column index.