|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.oodt.pcs.input.PGEMatrix
public class PGEMatrix
A PGEMatrix is a set of rows and columns with values in each cell defined by a row number and column number.
| Constructor Summary | |
|---|---|
PGEMatrix()
Constructs a new PGEMatrix with no rows or columns. |
|
PGEMatrix(String name,
int numrows,
int numcols)
Constructs a new PGEMatrix with the specified numrows and
numcols. |
|
| Method Summary | |
|---|---|
void |
addValue(Object value,
int row,
int col)
|
String |
getName()
|
int |
getNumCols()
|
List<List<Object>> |
getRows()
|
Object |
getValue(int row,
int col)
|
void |
setName(String name)
|
void |
setNumCols(int numCols)
|
void |
setRows(List<List<Object>> rows)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PGEMatrix()
Constructs a new PGEMatrix with no rows or columns.
public PGEMatrix(String name,
int numrows,
int numcols)
Constructs a new PGEMatrix with the specified numrows and
numcols.
numrows - The number of rows in the matrix.numcols - The number of columns for each row in the matrix.| Method Detail |
|---|
public void addValue(Object value,
int row,
int col)
public Object getValue(int row,
int col)
public List<List<Object>> getRows()
public void setRows(List<List<Object>> rows)
rows - The rows to set.public String getName()
public void setName(String name)
name - The name to set.public int getNumCols()
public void setNumCols(int numCols)
numCols - The numCols to set.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||