E
- 2D matrix element typepublic interface Matrix2DWriter<E>
Modifier and Type | Method and Description |
---|---|
<T extends Appendable> |
append(Matrix2D<? extends E> matrix,
T appendable)
Append the specified 2D matrix to the specified appendable.
|
void |
write(Matrix2D<? extends E> matrix,
File file)
Write the specified 2D matrix to the specified file.
|
void |
write(Matrix2D<? extends E> matrix,
OutputStream outputStream)
Write the specified 2D matrix to the specified output stream.
|
<T extends Appendable> T append(Matrix2D<? extends E> matrix, T appendable) throws IOException
T
- extends Appendablematrix
- 2D matrix to append, must not be nullappendable
- appendable to append the specified 2D matrix to, must not be nullIOException
- if an IO error occursvoid write(Matrix2D<? extends E> matrix, File file) throws IOException
matrix
- 2D matrix to write, must not be nullfile
- file to write to, must not be nullIOException
- if an IO error occursvoid write(Matrix2D<? extends E> matrix, OutputStream outputStream) throws IOException
matrix
- 2D matrix to write, must not be nulloutputStream
- output stream to write to, 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).