摘要:
If a thread-safe implementation is not needed, it is recommended to use HashMap in place of code Hashtable. If a thread-safe highly-concurrent impleme 阅读全文
摘要:
在开始之前,先介绍下Map是什么? javadoc中对Map的解释如下: An object that maps keys to values . A map cannot contain duplicate keys; each key can map to at most one value. 阅读全文