the super class does not implement equals()and hashcode()
the super class?does not implement equals()and hashcode()-the resulting code may not work correctly是什么情況。求大神解釋
the super class?does not implement equals()and hashcode()-the resulting code may not work correctly是什么情況。求大神解釋
2015-09-11
舉報(bào)
2015-09-12
這種情況沒遇到過耶!可以把代碼發(fā)出來大家一起研究下嗎?
2015-09-12
你是要用自己寫得類做排序之類的操作是嗎??重寫equals()和hashcode()方法試試。