Package eu.simuline.octave.io.impl
Class BooleanWriter
- java.lang.Object
-
- eu.simuline.octave.io.spi.OctaveDataWriter<T>
-
- eu.simuline.octave.io.impl.AbstractPrimitiveMatrixWriter<T>
-
- eu.simuline.octave.io.impl.AbstractLogicalFloatingPointWriter<OctaveBoolean>
-
- eu.simuline.octave.io.impl.BooleanWriter
-
public final class BooleanWriter extends AbstractLogicalFloatingPointWriter<OctaveBoolean>
The writer for the octave type "bool matrix" (matrix with boolean entries) and "bool", which is short for "bool scalar", writing anOctaveBoolean
to aWriter
.
-
-
Field Summary
-
Fields inherited from class eu.simuline.octave.io.impl.AbstractPrimitiveMatrixWriter
NCOLUMNS, NDIMS, NROWS
-
-
Constructor Summary
Constructors Constructor Description BooleanWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<OctaveBoolean>
javaType()
Could be OctaveScalar or OctaveMatrix.protected String
octaveMatrixType()
protected String
octaveScalarType()
-
Methods inherited from class eu.simuline.octave.io.impl.AbstractLogicalFloatingPointWriter
write
-
Methods inherited from class eu.simuline.octave.io.impl.AbstractPrimitiveMatrixWriter
saveDataVectorized
-
Methods inherited from class eu.simuline.octave.io.spi.OctaveDataWriter
getOctaveDataWriter
-
-
-
-
Method Detail
-
javaType
public Class<OctaveBoolean> javaType()
Description copied from class:OctaveDataWriter
Could be OctaveScalar or OctaveMatrix.- Specified by:
javaType
in classOctaveDataWriter<OctaveBoolean>
- Returns:
- the
Class
of theOctaveObject
that this IO handler loads and saves
-
octaveMatrixType
protected String octaveMatrixType()
- Specified by:
octaveMatrixType
in classAbstractPrimitiveMatrixWriter<OctaveBoolean>
-
octaveScalarType
protected String octaveScalarType()
- Specified by:
octaveScalarType
in classAbstractPrimitiveMatrixWriter<OctaveBoolean>
-
-