無法使用Generate hashCode() and equals()方法
為什么在Source里使用Generate hashCode() and equals()時,提示There is no non-static field in the class. Cannot create hashCode() and equals() method?
為什么在Source里使用Generate hashCode() and equals()時,提示There is no non-static field in the class. Cannot create hashCode() and equals() method?
2014-12-06
舉報
2014-12-08
你把這個提示翻譯一下你看下,這句話的意思是:在這個類中沒有非靜態字段,不能創建hashCode()和equals()方法