Hashtable 分析

一、类图         二、分析        a.  不允许 null key 或 null value        b.  iterator is fail-fast        c.  Hashtable 是同步的,但 jdk 建议使用 ConcurrentHashMap        d.  Hashtable 没有强制 capacity 为 2 的整数次幂     public H
相关文章
相关标签/搜索