摘要: HashTable HashMap concurrentHashMap区别 HashMap、HashTable、ConcurrentHashMap都是map接口的实现类 1.(同步性)HashTable的方法是同步的,HashMap不能同步。 Hashtable线程安全(需要排队),源码中方法都加了 阅读全文
posted @ 2022-04-20 18:50 JayZzz 阅读(90) 评论(0) 推荐(0)