Closed axkr closed 6 months ago
Hi @axkr, Would you be able to create a fix for this? Cheers
I will do it for OpenIntToDoubleHashMap
, but I guess having OpenIntToFieldHashMap
implement Serializable
is an error. Field elements are not serializable.
I also think more and more than serialization is not really a good thing and should be removed altogether.
org.hipparchus.util.OpenIntToDoubleHashMap
andorg.hipparchus.util.OpenIntToFieldHashMap
defineSerializable
interface but nohashCode()
andequals()
method.See:
There must be an overriden
equals()
andhashCode()
method so they will return true if deserialized instances of the same original object are compared.