Package eu.simuline.octave.io.impl
Class BooleanReader
- java.lang.Object
-
- eu.simuline.octave.io.spi.OctaveDataReader
-
- eu.simuline.octave.io.impl.AbstractPrimitiveMatrixReader<OctaveBoolean>
-
- eu.simuline.octave.io.impl.BooleanReader
-
public final class BooleanReader extends AbstractPrimitiveMatrixReader<OctaveBoolean>
The reader for the octave type "bool matrix" (matrix with boolean entries) reading anOctaveBoolean
from aBufferedReader
. **** the class name should be BoolMatrixReader ****
-
-
Field Summary
-
Fields inherited from class eu.simuline.octave.io.impl.AbstractPrimitiveMatrixReader
NCOLUMNS, NDIMS, NROWS
-
-
Constructor Summary
Constructors Constructor Description BooleanReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) OctaveBoolean
createOctaveValue(int[] size)
String
octaveType()
Could be "scalar" or "string" or something else.-
Methods inherited from class eu.simuline.octave.io.impl.AbstractPrimitiveMatrixReader
read, readSize2dmatrix
-
Methods inherited from class eu.simuline.octave.io.spi.OctaveDataReader
getOctaveDataReader
-
-
-
-
Method Detail
-
octaveType
public String octaveType()
Description copied from class:OctaveDataReader
Could be "scalar" or "string" or something else.- Specified by:
octaveType
in classOctaveDataReader
- Returns:
- the string representation of the octave type
read by this
OctaveDataReader
-
createOctaveValue
OctaveBoolean createOctaveValue(int[] size)
- Specified by:
createOctaveValue
in classAbstractPrimitiveMatrixReader<OctaveBoolean>
-
-