摘要: System.out.println("重地".hashCode()=="通话".hashCode());//结果为true hashcode()方法的返回值是int类型,当计算出的hashcode超过了int的范围,hashcode的准确性就不能保证了,所以不同字符的hashcode是有可能相同的 阅读全文
posted @ 2020-02-22 11:37 O_OIII 阅读(1614) 评论(0) 推荐(0)