public interface Matrix<T extends MatrixRow> extends Iterable<T>, Closeable
Modifier and Type | Method and Description |
---|---|
int |
getNumRows()
Returns the number of rows.
|
File |
getPath()
Returns the path to the file that backs the matrix.
|
<T extends MatrixRow> |
getRow(int rowId)
Gets a particular matrix row.
|
int[] |
getRowIds()
Gets all row ids.
|
Iterator<T> |
iterator()
Returns an iterator over matrix rows.
|
<T extends MatrixRow> T getRow(int rowId) throws IOException
T
- rowId
- IOException
int[] getRowIds()
int getNumRows()
File getPath()
Copyright © 2014. All rights reserved.