Package eu.simuline.octave.io.impl
Class Int32MatrixReader
- java.lang.Object
-
- eu.simuline.octave.io.spi.OctaveDataReader
-
- eu.simuline.octave.io.impl.AbstractPrimitiveMatrixReader<OctaveInt>
-
- eu.simuline.octave.io.impl.Int32MatrixReader
-
public final class Int32MatrixReader extends AbstractPrimitiveMatrixReader<OctaveInt>
The reader for the octave type "int32 matrix" reading anOctaveInt
from aBufferedReader
.
-
-
Field Summary
-
Fields inherited from class eu.simuline.octave.io.impl.AbstractPrimitiveMatrixReader
NCOLUMNS, NDIMS, NROWS
-
-
Constructor Summary
Constructors Constructor Description Int32MatrixReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) OctaveInt
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
OctaveInt createOctaveValue(int[] size)
- Specified by:
createOctaveValue
in classAbstractPrimitiveMatrixReader<OctaveInt>
-
-