Package eu.simuline.octave.io.impl
Class ScalarReader
- java.lang.Object
-
- eu.simuline.octave.io.spi.OctaveDataReader
-
- eu.simuline.octave.io.impl.AbstractPrimitiveScalarReader<OctaveDouble>
-
- eu.simuline.octave.io.impl.ScalarReader
-
public final class ScalarReader extends AbstractPrimitiveScalarReader<OctaveDouble>
The reader for the octave type "scalar" (double) reading anOctaveDouble
from aBufferedReader
.
-
-
Constructor Summary
Constructors Constructor Description ScalarReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) OctaveDouble
createOctaveScalar()
String
octaveType()
Could be "scalar" or "string" or something else.-
Methods inherited from class eu.simuline.octave.io.impl.AbstractPrimitiveScalarReader
read
-
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
-
createOctaveScalar
OctaveDouble createOctaveScalar()
- Specified by:
createOctaveScalar
in classAbstractPrimitiveScalarReader<OctaveDouble>
-
-