public interface RectangularDataStructure
extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
java.util.List<Attr> |
getAttrs()
Retrieves the attributes of the matrix.
|
Column |
getColumnAt(int index)
Retrieves the column at the given index.
|
java.util.List<Column> |
getColumns()
Retrieves the columns of the matrix.
|
Vector |
getDimAttribute()
Retrieves a vector containing the dimensions attribute of the matrix.
|
List |
getDimnamesAttribute()
Retrieves a list containing the dimension names of the matrix.
|
java.lang.String |
getName()
Retrieves the name of the matrix.
|
java.lang.Integer |
getNumCols()
Retrieves the number of columns in the matrix.
|
java.lang.Integer |
getNumRows()
Retrieves the number of rows in the matrix.
|
RowNames |
getRowNames()
Retrieves the row names of the matrix.
|
void |
setAttrs(java.util.Collection<Attr> attrs)
Sets the attributes of the matrix.
|
void |
setColumns(java.util.Collection<Column> columns)
Sets the columns of the matrix.
|
void |
setName(java.lang.String name)
Sets the name of the matrix.
|
void |
setNumCols(java.lang.Integer val)
Sets the number of columns in the matrix.
|
void |
setNumRows(java.lang.Integer val)
This method is ignored; it is provided only for XML serialization.
|
void |
setRowNames(RowNames rowNames)
Sets the row names of the matrix.
|
java.util.List<Attr> getAttrs()
Attr
objects.Attr
void setAttrs(java.util.Collection<Attr> attrs)
attrs
- A list of Attr
objects.Attr
Column getColumnAt(int index)
index
- The index of the column to be retrieved.Column
.java.util.List<Column> getColumns()
Column
objects.Column
void setColumns(java.util.Collection<Column> columns)
columns
- A list of Column
objects.Column
java.lang.String getName()
void setName(java.lang.String name)
name
- A string containing the name.RowNames getRowNames()
Note: If the rowNames attribute set into this is inconsistent with the row count in each column, it is regenerated to match the latter.
RowNames
void setRowNames(RowNames rowNames)
rowNames
- The matrix row names.RowNames
java.lang.Integer getNumCols()
Column
java.lang.Integer getNumRows()
void setNumCols(java.lang.Integer val)
val
- An integer containing the column numbers.Column
void setNumRows(java.lang.Integer val)
val
- An integer containing the row numbers.Vector getDimAttribute()
Vector
containing the dimensions attribute.