←
^
→
Designing RMI Applications
Override equals() and hashCode()
The default implementations use the object's location.
After being deserialized, you have two identical copies which you might want to be
equals()
and produce the same
hashCode()
.
José M. Vidal
.
31 of 49