System.identityHashCode(object)和Object.hashCode()的区别
String a = new String("test");
String b = new String("test");
System.out.println(System.identityHashCode(a));
System.out.println(System.identityHashCode(b));
...
原创
2019-04-11 11:07:55 ·
515 阅读 ·
0 评论