Package org.djutils.serialization
Class SerializationTest.Compound
java.lang.Object
org.djutils.serialization.SerializationTest.Compound
- All Implemented Interfaces:
SerializableObject<SerializationTest.Compound>
- Enclosing class:
- SerializationTest
static class SerializationTest.Compound
extends Object
implements SerializableObject<SerializationTest.Compound>
Class used to test serialization of classes that implement SerializableObject.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
intValue
Field 1. -
doubleValue
Field 2.
-
-
Constructor Details
-
Compound
Compound(int intValue, double doubleValue) Construct a new Compound object.- Parameters:
intValue
- the value to assign to intValuedoubleValue
- the value to assign to doubleValue
-
-
Method Details
-
hashCode
public int hashCode() -
equals
-
toString
-
exportAsList
- Specified by:
exportAsList
in interfaceSerializableObject<SerializationTest.Compound>
-