Uses of Interface
eu.simuline.octave.type.OctaveObject
-
Packages that use OctaveObject Package Description eu.simuline.octave Package provides a factory classOctaveEngineFactory
to create anOctaveEngine
which represents an octave process.eu.simuline.octave.exception The exceptions here are still very closely tied to the implementation of the JavaOctave package, it would be better if they were more related to what the use of the Octave object needed.eu.simuline.octave.io Explanation missingeu.simuline.octave.io.impl Provides the implementations of the services specified ineu.simuline.octave.io.spi
; one for each octave type given in octave viatypeinfo
.eu.simuline.octave.io.spi Theeu.simuline.octave.io.spi
package contains service provider interfaces for reading and writing various kinds ofOctaveObject
s.eu.simuline.octave.type Contains all octave types which are supported.eu.simuline.octave.type.cast Collection of classes concerned with casts.eu.simuline.octave.type.matrix Representations of matrices:AbstractGenericMatrix
is the abstract base class of all of them. -
-
Uses of OctaveObject in eu.simuline.octave
Methods in eu.simuline.octave with type parameters of type OctaveObject Modifier and Type Method Description <T extends OctaveObject>
TOctaveEngine. get(Class<T> castClass, String key)
Methods in eu.simuline.octave that return OctaveObject Modifier and Type Method Description OctaveObject
OctaveEngine. get(String key)
Methods in eu.simuline.octave with parameters of type OctaveObject Modifier and Type Method Description void
OctaveEngine. put(String key, OctaveObject value)
Sets a value in octave.Method parameters in eu.simuline.octave with type arguments of type OctaveObject Modifier and Type Method Description void
OctaveEngine. putAll(Map<String,OctaveObject> vars)
Sets all the mappings in the specified map as variables in octave. -
Uses of OctaveObject in eu.simuline.octave.exception
Fields in eu.simuline.octave.exception declared as OctaveObject Modifier and Type Field Description private OctaveObject
OctaveClassCastException. octaveObject
Fields in eu.simuline.octave.exception with type parameters of type OctaveObject Modifier and Type Field Description private Class<? extends OctaveObject>
OctaveClassCastException. castClass
Methods in eu.simuline.octave.exception that return OctaveObject Modifier and Type Method Description OctaveObject
OctaveClassCastException. getOctaveObject()
Methods in eu.simuline.octave.exception that return types with arguments of type OctaveObject Modifier and Type Method Description Class<? extends OctaveObject>
OctaveClassCastException. getCastClass()
Constructors in eu.simuline.octave.exception with parameters of type OctaveObject Constructor Description OctaveClassCastException(ClassCastException cause, OctaveObject octaveObject, Class<? extends OctaveObject> castClass)
Constructor parameters in eu.simuline.octave.exception with type arguments of type OctaveObject Constructor Description OctaveClassCastException(ClassCastException cause, OctaveObject octaveObject, Class<? extends OctaveObject> castClass)
-
Uses of OctaveObject in eu.simuline.octave.io
Fields in eu.simuline.octave.io declared as OctaveObject Modifier and Type Field Description private OctaveObject
DataReadFunctor. data
AfterDataReadFunctor.doReads(Reader)
returns, this contains the read data.Fields in eu.simuline.octave.io with type parameters of type OctaveObject Modifier and Type Field Description private Map<String,OctaveObject>
DataWriteFunctor. varName2Value
A map from variable names to according octave objects.Methods in eu.simuline.octave.io with type parameters of type OctaveObject Modifier and Type Method Description static <T extends OctaveObject>
voidOctaveIO. write(Writer writer, T octValue)
Methods in eu.simuline.octave.io that return OctaveObject Modifier and Type Method Description OctaveObject
OctaveIO. get(String name)
Gets the value of the variablename
or null if this variable does not exist according toOctaveIO.existsVar(String)
.OctaveObject
DataReadFunctor. getData()
static OctaveObject
OctaveIO. read(BufferedReader reader)
Read a single object from Reader.Methods in eu.simuline.octave.io that return types with arguments of type OctaveObject Modifier and Type Method Description static Map<String,OctaveObject>
OctaveIO. readWithName(BufferedReader reader)
Read a single variable - object pair from Reader.static Map<String,OctaveObject>
OctaveIO. readWithName(String input)
Read a single object from String, it is an error if there is data left after the object.Methods in eu.simuline.octave.io with parameters of type OctaveObject Modifier and Type Method Description static String
OctaveIO. toText(OctaveObject octValue)
Returns as a string how theOctaveObject
octaveType
(****bad name) is written without variable, i.e. with variable"ans"
.static String
OctaveIO. toText(String name, OctaveObject octValue)
Returns as a string how the variablename
and theOctaveObject
octaveType
(****bad name) are written.static void
OctaveIO. write(Writer writer, String name, OctaveObject octValue)
ER: Writes the namename
and theOctaveObject
octValue
to the writerwriter
usingOctaveIO.write(Writer, OctaveObject)
.Method parameters in eu.simuline.octave.io with type arguments of type OctaveObject Modifier and Type Method Description void
OctaveIO. set(Map<String,OctaveObject> name2val)
Sets the variables named as keys inname2val
to objects given by the mapped values.Constructor parameters in eu.simuline.octave.io with type arguments of type OctaveObject Constructor Description DataWriteFunctor(Map<String,OctaveObject> varName2Value)
-
Uses of OctaveObject in eu.simuline.octave.io.impl
Methods in eu.simuline.octave.io.impl with parameters of type OctaveObject Modifier and Type Method Description private static void
TestIoOctaveString. roundtrip(OctaveEngine octave, OctaveObject octaveObject)
-
Uses of OctaveObject in eu.simuline.octave.io.spi
Classes in eu.simuline.octave.io.spi with type parameters of type OctaveObject Modifier and Type Class Description class
OctaveDataWriter<T extends OctaveObject>
Service Provider Interface for the IO handler that can writeOctaveObject
s.Fields in eu.simuline.octave.io.spi with type parameters of type OctaveObject Modifier and Type Field Description private static Map<Class<? extends OctaveObject>,OctaveDataWriter<?>>
OctaveDataWriter. wRITERS
Maps theOctaveDataWriter.javaType()
which represents an octave type of anOctaveDataWriter
to theOctaveDataWriter
itself which is able to write the octave type to a writer.Methods in eu.simuline.octave.io.spi with type parameters of type OctaveObject Modifier and Type Method Description static <T extends OctaveObject>
OctaveDataWriter<T>OctaveDataWriter. getOctaveDataWriter(T type)
Methods in eu.simuline.octave.io.spi that return OctaveObject Modifier and Type Method Description abstract OctaveObject
OctaveDataReader. read(BufferedReader reader)
Reads anOctaveObject
from a Readerreader
. -
Uses of OctaveObject in eu.simuline.octave.type
Classes in eu.simuline.octave.type that implement OctaveObject Modifier and Type Class Description class
OctaveBoolean
Represents a Boolean matrix.class
OctaveCell
Nd cells.class
OctaveComplex
Represents a complex matrix.class
OctaveDouble
Represents a matrix of doubles.class
OctaveFake
A fake object, the point of this object is to make it easy to create objects that is read without being unfolded into Java.class
OctaveFunctionHandle
A function handle.class
OctaveInt
Represents a matrix of ints.class
OctaveLong
Represents a matrix of ints.class
OctaveSparseBoolean
Represents a Boolean matrix and is appropriate for sparse matrices.class
OctaveString
Represents an octave string.class
OctaveStruct
1x1 struct.Fields in eu.simuline.octave.type declared as OctaveObject Modifier and Type Field Description private static OctaveObject
OctaveCell. DEFAULT_VALUE
For some reason, the default value is not stored as such, but as anull
value.Fields in eu.simuline.octave.type with type parameters of type OctaveObject Modifier and Type Field Description private Map<String,OctaveObject>
OctaveStruct. data
Methods in eu.simuline.octave.type with type parameters of type OctaveObject Modifier and Type Method Description <T extends OctaveObject>
TOctaveCell. get(Class<T> castClass, int... pos)
<T extends OctaveObject>
TOctaveStruct. get(Class<T> castClass, String key)
Methods in eu.simuline.octave.type that return OctaveObject Modifier and Type Method Description OctaveObject
OctaveCell. get(int... pos)
OctaveObject
OctaveStruct. get(String key)
Get object from struct as plain OctaveObject.OctaveObject
OctaveObject. shallowCopy()
Make a shallow copy of this object.Methods in eu.simuline.octave.type that return types with arguments of type OctaveObject Modifier and Type Method Description Map<String,OctaveObject>
OctaveStruct. getData()
Methods in eu.simuline.octave.type with parameters of type OctaveObject Modifier and Type Method Description void
OctaveCell. set(OctaveObject value, int... pos)
void
OctaveStruct. set(String name, OctaveObject value)
Constructor parameters in eu.simuline.octave.type with type arguments of type OctaveObject Constructor Description OctaveCell(AbstractGenericMatrix<OctaveObject[],it.unimi.dsi.fastutil.objects.ObjectArrayList<OctaveObject>> o)
OctaveStruct(Map<String,OctaveObject> data)
Create struct from data. -
Uses of OctaveObject in eu.simuline.octave.type.cast
Methods in eu.simuline.octave.type.cast with type parameters of type OctaveObject Modifier and Type Method Description static <F extends OctaveObject,T extends OctaveObject>
TCast. cast(Class<T> toClass, F from)
Cast and transform the object.static <F extends OctaveObject,T extends OctaveObject>
TCast. cast(Class<T> toClass, F from)
Cast and transform the object.private static <F extends OctaveObject,T extends OctaveObject>
Caster<F,T>Cast. casterMapGet(Cast.ClassPair<F,T> cp)
private static <F extends OctaveObject,T extends OctaveObject>
Caster<F,T>Cast. casterMapGet(Cast.ClassPair<F,T> cp)
-
Uses of OctaveObject in eu.simuline.octave.type.matrix
Classes in eu.simuline.octave.type.matrix that implement OctaveObject Modifier and Type Class Description class
AbstractGenericMatrix<D,L extends List<?>>
A general matrix that does not even know that it is an array it stores its in.class
AbstractObjectMatrix<T>
General matrix with Object values which serves also as base class forOctaveCell
.Methods in eu.simuline.octave.type.matrix that return OctaveObject Modifier and Type Method Description abstract OctaveObject
AbstractGenericMatrix. shallowCopy()
-