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