public class NetworkCoolMapMatrix extends AbstractCoolMapMatrix<java.lang.Double>
Constructor and Description |
---|
NetworkCoolMapMatrix(int numRow,
int numCol) |
Modifier and Type | Method and Description |
---|---|
LNetwork |
getLNetwork(java.util.Collection<java.lang.Integer> rowIndices,
java.util.Collection<java.lang.Integer> colIndices) |
java.lang.Double |
getValue(int row,
int col)
Get value at (rowIndex, columnIndex) from the data matrix
|
void |
setValue(int row,
int col,
java.lang.Double 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 java.lang.Double getValue(int row, int col)
CoolMapMatrix
getValue
in interface CoolMapMatrix<java.lang.Double>
getValue
in class AbstractCoolMapMatrix<java.lang.Double>
row
- index of rowcol
- index of columnpublic void setValue(int row, int col, java.lang.Double value)
AbstractCoolMapMatrix
setValue
in class AbstractCoolMapMatrix<java.lang.Double>
public LNetwork getLNetwork(java.util.Collection<java.lang.Integer> rowIndices, java.util.Collection<java.lang.Integer> colIndices)