Package org.djutils.serialization
Class TypedMessage.MinimalSerializableObject
- java.lang.Object
-
- org.djutils.serialization.TypedMessage.MinimalSerializableObject
-
- All Implemented Interfaces:
SerializableObject<TypedMessage.MinimalSerializableObject>
- Enclosing class:
- TypedMessage
static class TypedMessage.MinimalSerializableObject extends Object implements SerializableObject<TypedMessage.MinimalSerializableObject>
Minimal implementation of SerializableObject.
-
-
Constructor Summary
Constructors Constructor Description MinimalSerializableObject(List<Object> list)
Construct a new MinimalCompound object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Object>
exportAsList()
Make all elements that need to be serialized available as a list.
-
-
-
Method Detail
-
exportAsList
public List<Object> exportAsList()
Description copied from interface:SerializableObject
Make all elements that need to be serialized available as a list. The size of this list and the types of the elements in it must be consistent. Meaning that the size of the list and content types of the list are always the same.- Specified by:
exportAsList
in interfaceSerializableObject<TypedMessage.MinimalSerializableObject>
- Returns:
- List<Object>; list of the elements that need to serialized
-
-