Package eu.simuline.octave.io.impl
Class AbstractLogicalFloatingPointWriter<T extends AbstractGenericMatrix<?,?>>
- java.lang.Object
-
- eu.simuline.octave.io.spi.OctaveDataWriter<T>
-
- eu.simuline.octave.io.impl.AbstractPrimitiveMatrixWriter<T>
-
- eu.simuline.octave.io.impl.AbstractLogicalFloatingPointWriter<T>
-
- Type Parameters:
T
- the type to be written out which has to extendAbstractGenericMatrix
.
- Direct Known Subclasses:
BooleanWriter
,MatrixWriter
abstract class AbstractLogicalFloatingPointWriter<T extends AbstractGenericMatrix<?,?>> extends AbstractPrimitiveMatrixWriter<T>
Common Writer class for logical and floating point types: Boolean, Double, ...
-
-
Field Summary
-
Fields inherited from class eu.simuline.octave.io.impl.AbstractPrimitiveMatrixWriter
NCOLUMNS, NDIMS, NROWS
-
-
Constructor Summary
Constructors Constructor Description AbstractLogicalFloatingPointWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
saveData2d(Writer writer, T octaveMatrix)
void
write(Writer writer, T octaveMatrix)
-
Methods inherited from class eu.simuline.octave.io.impl.AbstractPrimitiveMatrixWriter
octaveMatrixType, octaveScalarType, saveDataVectorized
-
Methods inherited from class eu.simuline.octave.io.spi.OctaveDataWriter
getOctaveDataWriter, javaType
-
-
-
-
Method Detail
-
write
public void write(Writer writer, T octaveMatrix) throws IOException
- Overrides:
write
in classAbstractPrimitiveMatrixWriter<T extends AbstractGenericMatrix<?,?>>
- Parameters:
writer
- the Writer to write tooctaveMatrix
- the value to write- Throws:
IOException
-
saveData2d
private void saveData2d(Writer writer, T octaveMatrix) throws IOException
- Throws:
IOException
-
-