摘要: HashMap的key最好不要存储对象,大部分环境都是String。 如果要存储对象,要注意重写下equal和hashcode方法!! 阅读全文
posted @ 2019-12-01 22:42 vitasy 阅读(3091) 评论(0) 推荐(2) 编辑