为什么在重写equals()方法时,一般都会重写HashCode()方法?

NoSuchKey