Java: How to define equals and hashCode when inheriting from superclass?

后端 未结 0 937
礼貌的吻别
礼貌的吻别 2021-02-05 11:40

If a class from a library doesn\'t implement equals or hashCode, how do I correctly implement them in a subclass or wrapper class so I can do comparis

相关标签:
回答
  • 消灭零回复
提交回复
热议问题