T - classpublic abstract class BasicSerializer<T> extends Object implements Serializer<T>
Copyright (c) 2019-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
| Constructor and Description |
|---|
BasicSerializer(byte type,
String dataClassName)
Construct the BasicSerializer.
|
| Modifier and Type | Method and Description |
|---|---|
String |
dataClassName()
Return a description of the type of data that this serializer handles.
|
byte |
fieldType()
Return the byte representation of the field type.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdeSerialize, getNumberOfDimensions, serialize, serializeWithPrefix, size, sizeWithPrefixpublic BasicSerializer(byte type,
String dataClassName)
type - byte; the field type (returned by the fieldType method)dataClassName - String; returned by the dataClassName methodpublic final byte fieldType()
fieldType in interface Serializer<T>public final String dataClassName()
dataClassName in interface Serializer<T>Copyright © 2018–2019 Delft University of Technology. All rights reserved.