public class Model2DCMatrix<T> extends AbstractCoolMapMatrix<T>
Constructor and Description |
---|
Model2DCMatrix(java.lang.String name,
java.lang.Integer numRow,
java.lang.Integer numCol,
java.lang.Class<T> objectClass) |
Model2DCMatrix(java.lang.String name,
int numRow,
int numCol,
java.lang.Class<T> objectClass,
java.lang.String ID) |
Modifier and Type | Method and Description |
---|---|
T |
getValue(int rowIndex,
int colIndex)
Get value at (rowIndex, columnIndex) from the data matrix
|
void |
setValue(int rowIndex,
int colIndex,
T value)
this could result in Array Index of of bounds exception
|
getColumnId, getColumnIds, getDescription, getId, getIndexOfColumnById, getIndexOfRowById, getMemberClass, getName, getNumberOfColumns, getNumberOfRows, getRowId, getRowIds, hasColumn, hasRow, setColId, setColIds, setDescription, setName, setRowId, setRowIds, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
canBeOverlaidTogether
public Model2DCMatrix(java.lang.String name, int numRow, int numCol, java.lang.Class<T> objectClass, java.lang.String ID)
public Model2DCMatrix(java.lang.String name, java.lang.Integer numRow, java.lang.Integer numCol, java.lang.Class<T> objectClass)
public T getValue(int rowIndex, int colIndex) throws java.lang.IndexOutOfBoundsException
CoolMapMatrix
getValue
in interface CoolMapMatrix<T>
getValue
in class AbstractCoolMapMatrix<T>
rowIndex
- index of rowcolIndex
- index of columnjava.lang.IndexOutOfBoundsException
public void setValue(int rowIndex, int colIndex, T value)
AbstractCoolMapMatrix
setValue
in class AbstractCoolMapMatrix<T>