使用HashMap,如果key是自定义的类,就必须重写hashcode()和equals()

NoSuchKey

猜你喜欢

转载自blog.csdn.net/baidu_41592938/article/details/104366722