ArrayList,LinkedList不同步,vector:同步
HashMap不同步,Hashtable同步
转到博客园:
https://www.cnblogs.com/yw-ah/p/5841327.html
自定义hashCode(),equals() 方法
转到博客:https://www.cnblogs.com/dolphin0520/p/3681042.html
https://www.cnblogs.com/happyPawpaw/p/3744971.html
本文探讨了Java中集合类如ArrayList, LinkedList, Vector及HashMap, Hashtable的同步特性,并介绍了如何自定义hashCode()和equals()方法以提高程序效率。
ArrayList,LinkedList不同步,vector:同步
HashMap不同步,Hashtable同步
转到博客园:
https://www.cnblogs.com/yw-ah/p/5841327.html
自定义hashCode(),equals() 方法
转到博客:https://www.cnblogs.com/dolphin0520/p/3681042.html
https://www.cnblogs.com/happyPawpaw/p/3744971.html

被折叠的 条评论
为什么被折叠?
