Package org.djutils.serialization
Class Tests.Compound
java.lang.Object
org.djutils.serialization.Tests.Compound
- All Implemented Interfaces:
SerializableObject<Tests.Compound>
- Enclosing class:
- Tests
Class used to test serialization of classes that implement SerializableObject.
-
Field Summary
-
Constructor Summary
-
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
- int; the value to assign to intValuedoubleValue
- double; the value to assign to doubleValue
-
-
Method Details
-
hashCode
public int hashCode() -
equals
-
toString
-
exportAsList
- Specified by:
exportAsList
in interfaceSerializableObject<Tests.Compound>
-