Uses of Interface
org.djutils.serialization.serializers.Serializer
Package
Description
Interface and code to serialize and deserialize data.
The different types of (de)serializers..
-
Uses of Serializer in org.djutils.serialization
Modifier and TypeFieldDescription(package private) static final Map<Byte,
Serializer<?>> TypedMessage.PRIMITIVE_DATA_DECODERS
All the converters that decode into primitive data when possible, keyed by prefix.Modifier and TypeMethodDescription(package private) static Serializer<?>[]
TypedMessage.buildEncoderList
(boolean utf8, Object... content) Build the list of serializers corresponding to the data in an Object array.(package private) static Serializer<?>
TypedMessage.findEncoder
(boolean utf8, Object object) Find the serializer for one object.Modifier and TypeMethodDescriptionstatic Object[]
TypedMessage.decode
(byte[] buffer, Map<Byte, Serializer<?>> decoderMap, EndianUtil endianUtil) Decode the message into an object array. -
Uses of Serializer in org.djutils.serialization.serializers
Modifier and TypeClassDescriptionclass
Serializer for arrays or matrices.class
ArrayOrMatrixWithUnitSerializer<U extends org.djunits.unit.Unit<U>,
T> Serializer for Djunits arrays and matrices.class
Serializer for primitive data array classes. *class
Basics of the serializerclass
DoubleMatrixSerializer<U extends org.djunits.unit.Unit<U>,
S extends org.djunits.value.vdouble.scalar.base.DoubleScalar<U, S>, V extends org.djunits.value.vdouble.vector.base.DoubleVector<U, S, V>, M extends org.djunits.value.vdouble.matrix.base.DoubleMatrix<U, S, V, M>> (De)serializes a DJUNITS DoubleMatrix.class
DoubleScalarSerializer<U extends org.djunits.unit.Unit<U>,
S extends org.djunits.value.vdouble.scalar.base.DoubleScalar<U, S>> (De)serializes a DJUNITS DoubleScalar.class
DoubleVectorArraySerializer<U extends org.djunits.unit.Unit<U>,
S extends org.djunits.value.vdouble.scalar.base.DoubleScalar<U, S>, V extends org.djunits.value.vdouble.vector.base.DoubleVector<U, S, V>> (De)serializes an array of (same length) DJUNITS DoubleVectors.class
DoubleVectorSerializer<U extends org.djunits.unit.Unit<U>,
S extends org.djunits.value.vdouble.scalar.base.DoubleScalar<U, S>, V extends org.djunits.value.vdouble.vector.base.DoubleVector<U, S, V>> (De)serializes a DJUNITS DoubleVector.class
Serializer for simple, fixed size, classes.class
FloatMatrixSerializer<U extends org.djunits.unit.Unit<U>,
S extends org.djunits.value.vfloat.scalar.base.FloatScalar<U, S>, V extends org.djunits.value.vfloat.vector.base.FloatVector<U, S, V>, M extends org.djunits.value.vfloat.matrix.base.FloatMatrix<U, S, V, M>> (De)serializes a DJUNITS FloatMatrix.class
FloatScalarSerializer<U extends org.djunits.unit.Unit<U>,
S extends org.djunits.value.vfloat.scalar.base.FloatScalar<U, S>> (De)serializes a DJUNITS FloatScalar.class
FloatVectorSerializer<U extends org.djunits.unit.Unit<U>,
S extends org.djunits.value.vfloat.scalar.base.FloatScalar<U, S>, V extends org.djunits.value.vfloat.vector.base.FloatVector<U, S, V>> (De)serializes a DJUNITS FloatVector.class
Serializer for Object array classes.class
Serializer for simple matrix (non-jagged, non-empty, 2D array) classes.class
Serializer for simple classes.class
ObjectWithUnitSerializer<U extends org.djunits.unit.Unit<U>,
T> Abstract class to (de)serializes a DJUNITS value.