E
- 2D matrix element typepublic abstract class AbstractTextMatrix2DReader<E> extends AbstractMatrix2DReader<E>
rows\tcolumns\tcardinality
and each additional line should be formatted as row\tcolumn\tvalue
.Constructor and Description |
---|
AbstractTextMatrix2DReader() |
Modifier and Type | Method and Description |
---|---|
Matrix2D<E> |
read(InputStream inputStream)
Read a 2D matrix from the specified input stream.
|
createMatrix2D, parse, read, read
public final Matrix2D<E> read(InputStream inputStream) throws IOException
inputStream
- input stream to read from, must not be nullIOException
- if an IO error occursCopyright (c) 2008-2013 held jointly by the individual authors. Licensed under the GNU Lesser General Public License (LGPL).