|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--cern.colt.PersistentObject
|
+--cern.colt.matrix.impl.AbstractMatrix
|
+--cern.colt.matrix.impl.AbstractMatrix2D
|
+--cern.colt.matrix.ObjectMatrix2D
|
+--cern.colt.matrix.impl.SparseObjectMatrix2D
|
+--edu.iu.iv.common.datamodels.matrixmodel.SparseObjectMatrixModel
| Field Summary |
| Fields inherited from class cern.colt.PersistentObject |
serialVersionUID |
| Constructor Summary | |
SparseObjectMatrixModel(int numRows,
int numColumns)
|
|
SparseObjectMatrixModel(java.lang.Object[][] values)
|
|
| Method Summary | |
java.lang.String |
getColumnLabel(int col)
Gets the label for the specified column. |
int |
getNumberOfColumns()
|
int |
getNumberOfRows()
|
java.lang.String |
getRowLabel(int row)
Gets the label for the specified row. |
void |
setColumnLabel(int col,
java.lang.String text)
Sets the label at the specified column to the specified text. |
void |
setRowLabel(int row,
java.lang.String text)
Sets the label of the specified row to the specified text. |
| Methods inherited from class cern.colt.matrix.impl.SparseObjectMatrix2D |
cardinality, ensureCapacity, getQuick, like, like1D, setQuick, trimToSize |
| Methods inherited from class cern.colt.matrix.ObjectMatrix2D |
aggregate, aggregate, assign, assign, assign, assign, assign, copy, equals, equals, get, getNonZeros, like, set, toArray, toString, viewColumn, viewColumnFlip, viewDice, viewPart, viewRow, viewRowFlip, viewSelection, viewSelection, viewSorted, viewStrides |
| Methods inherited from class cern.colt.matrix.impl.AbstractMatrix2D |
checkShape, checkShape, columns, rows, size, toStringShort |
| Methods inherited from class cern.colt.PersistentObject |
clone |
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface edu.iu.iv.core.datamodels.matrixmodel.ObjectMatrixModel |
get, set |
| Constructor Detail |
public SparseObjectMatrixModel(int numRows,
int numColumns)
public SparseObjectMatrixModel(java.lang.Object[][] values)
values - | Method Detail |
public void setColumnLabel(int col,
java.lang.String text)
ObjectMatrixModel
setColumnLabel in interface ObjectMatrixModelcol - The column number.text - The text of the label.ObjectMatrixModel.setColumnLabel(int, java.lang.String)public java.lang.String getColumnLabel(int col)
ObjectMatrixModel
getColumnLabel in interface ObjectMatrixModelcol - The column number.
ObjectMatrixModel.getColumnLabel(int)
public void setRowLabel(int row,
java.lang.String text)
ObjectMatrixModel
setRowLabel in interface ObjectMatrixModelrow - The row number.text - The text of the label.ObjectMatrixModel.setRowLabel(int, java.lang.String)public java.lang.String getRowLabel(int row)
ObjectMatrixModel
getRowLabel in interface ObjectMatrixModelrow - The row number.
ObjectMatrixModel.getRowLabel(int)public int getNumberOfRows()
getNumberOfRows in interface ObjectMatrixModelObjectMatrixModel.getNumberOfRows()public int getNumberOfColumns()
getNumberOfColumns in interface ObjectMatrixModelObjectMatrixModel.getNumberOfColumns()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||