|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.ObjectbaseCode.dataStructure.matrix.AbstractNamedMatrix
baseCode.dataStructure.matrix.StringMatrix2DNamed
A NamedMatrix containing String objects.
Copyright (c) 2004
Institution: Columbia University
| Constructor Summary | |
StringMatrix2DNamed(int x,
int y)
|
|
| Method Summary | |
int |
columns()
Get the number of columns the matrix has. |
java.lang.Object |
get(int row,
int column)
|
java.lang.Object[] |
getCol(int col)
|
java.lang.Object[] |
getColObj(int col)
|
java.lang.Object |
getQuick(int row,
int column)
|
java.lang.Object[] |
getRow(int row)
|
java.lang.Object[] |
getRowObj(int row)
Get a row in the matrix as a generic Object[]. |
boolean |
isMissing(int i,
int j)
Check if the value at a given index is missing. |
int |
rows()
Get the number of rows the matrix has |
void |
set(int row,
int column,
java.lang.Object value)
Set a value in the matrix. |
void |
setQuick(int row,
int column,
java.lang.Object value)
|
int |
size()
|
java.lang.String |
toString()
|
cern.colt.matrix.ObjectMatrix1D |
viewColumn(int column)
|
cern.colt.matrix.ObjectMatrix1D |
viewRow(int row)
|
| Methods inherited from class baseCode.dataStructure.matrix.AbstractNamedMatrix |
addColumnName, addColumnName, addRowName, addRowName, containsColumnName, containsRowName, getColIndexByName, getColName, getColNames, getRowIndexByName, getRowName, getRowNameMapIterator, getRowNames, hasColNames, hasRow, hasRowNames, numMissing, setColumnNames, setRowNames |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public StringMatrix2DNamed(int x,
int y)
| Method Detail |
public java.lang.String toString()
public java.lang.Object[] getRow(int row)
public java.lang.Object[] getCol(int col)
public java.lang.Object[] getRowObj(int row)
NamedMatrix
getRowObj in interface NamedMatrixgetRowObj in class AbstractNamedMatrixpublic java.lang.Object[] getColObj(int col)
getColObj in interface NamedMatrixgetColObj in class AbstractNamedMatrix
public boolean isMissing(int i,
int j)
NamedMatrix
isMissing in interface NamedMatrixisMissing in class AbstractNamedMatrixpublic int columns()
NamedMatrix
columns in interface NamedMatrixcolumns in class AbstractNamedMatrix
public java.lang.Object get(int row,
int column)
row - column -
public java.lang.Object getQuick(int row,
int column)
row - column -
public int rows()
NamedMatrix
rows in interface NamedMatrixrows in class AbstractNamedMatrixpublic int size()
public cern.colt.matrix.ObjectMatrix1D viewColumn(int column)
column -
public cern.colt.matrix.ObjectMatrix1D viewRow(int row)
row -
public void set(int row,
int column,
java.lang.Object value)
NamedMatrix
set in interface NamedMatrixset in class AbstractNamedMatrixrow - column - value -
public void setQuick(int row,
int column,
java.lang.Object value)
row - column - value -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||